home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1996-04-27 | 5.1 MB | [Guid/DanR] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Tue Feb 20 10:10:04 1996, modified Sat Apr 27 10:22:13 1996, creator 'DanR', type 'Guid', 3817874 bytes "MacTech Vol 01-1984/5" , at 0x3a4212 1574687 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
100%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [Guid] |
macFileCreator | [DanR] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 15 4d 61 63 54 65 63 | 68 20 56 6f 6c 20 30 31 |..MacTec|h Vol 01|
|00000010| 2d 31 39 38 34 2f 35 00 | 00 00 00 00 00 00 00 00 |-1984/5.|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 47 75 69 64 44 61 6e | 52 01 00 00 00 00 00 00 |.GuidDan|R.......|
|00000050| 00 00 00 00 3a 41 92 00 | 18 07 1f ad 4f 94 cc ad |....:A..|....O...|
|00000060| a7 de 15 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 27 09 00 00 |........|....'...|
|00000080| 4e 47 4d 43 00 5d 44 52 | 00 00 00 00 00 0d 41 6c |NGMC.]DR|......Al|
|00000090| 70 68 61 62 65 74 20 53 | 6f 75 70 00 00 7c 00 00 |phabet S|oup..|..|
|000000a0| 00 0c 00 09 00 0d c4 fb | 00 32 4e 75 6d 62 65 72 |........|.2Number|
|000000b0| 3a 97 31 00 00 00 00 18 | 00 09 00 10 c4 49 73 73 |:.1.....|.....Iss|
|000000c0| 75 65 20 4e 75 6d 62 65 | 72 3a a2 31 00 00 00 24 |ue Numbe|r:.1...$|
|000000d0| 00 09 00 19 c4 43 6f 6c | 75 6d 6e 20 54 61 67 3a |.....Col|umn Tag:|
|000000e0| b0 42 41 53 49 43 20 53 | 43 48 4f 4f 4c 00 00 00 |.BASIC S|CHOOL...|
|000000f0| 00 40 00 09 00 12 c5 ff | d2 41 6c 70 68 61 62 65 |.@......|.Alphabe|
|00000100| 74 20 53 6f 75 70 ff d3 | 00 00 00 53 00 09 00 0e |t Soup..|...S....|
|00000110| c7 42 79 20 44 61 76 65 | 20 4b 65 6c 6c 79 00 00 |.By Dave| Kelly..|
|00000120| 00 75 00 ac 00 12 c4 ff | d2 41 6c 70 68 61 62 65 |.u......|.Alphabe|
|00000130| 74 20 53 6f 75 70 ff d3 | 00 00 00 86 00 24 00 4d |t Soup..|.....$.M|
|00000140| c3 57 65 6c 63 6f 6d 65 | 20 74 6f 20 42 61 73 69 |.Welcome| to Basi|
|00000150| 63 20 53 63 68 6f 6f 6c | 21 20 54 68 69 73 20 61 |c School|! This a|
|00000160| 72 74 69 63 6c 65 20 69 | 73 20 64 65 64 69 63 61 |rticle i|s dedica|
|00000170| 74 65 64 20 74 6f 20 74 | 68 6f 73 65 20 6f 66 20 |ted to t|hose of |
|00000180| 75 73 20 74 68 61 74 20 | 65 6e 6a 6f 79 00 00 00 |us that |enjoy...|
|00000190| 00 92 00 09 00 53 c3 70 | 72 6f 67 72 61 6d 6d 69 |.....S.p|rogrammi|
|000001a0| 6e 67 20 69 6e 20 42 61 | 73 69 63 2e 20 20 50 72 |ng in Ba|sic. Pr|
|000001b0| 6f 67 72 61 6d 6d 65 72 | 73 20 6f 66 20 73 74 72 |ogrammer|s of str|
|000001c0| 75 63 74 75 72 65 64 20 | 6c 61 6e 67 75 61 67 65 |uctured |language|
|000001d0| 73 20 68 61 76 65 20 70 | 75 74 20 42 61 73 69 63 |s have p|ut Basic|
|000001e0| 20 64 6f 77 6e 20 66 6f | 72 00 00 00 00 9e 00 09 | down fo|r.......|
|000001f0| 00 51 c3 73 65 76 65 72 | 61 6c 20 79 65 61 72 73 |.Q.sever|al years|
|00000200| 20 62 65 63 61 75 73 65 | 20 69 74 20 69 73 20 6e | because| it is n|
|00000210| 6f 74 20 63 6f 6e 73 69 | 64 65 72 65 64 20 61 20 |ot consi|dered a |
|00000220| 73 74 72 75 63 74 75 72 | 65 64 20 70 72 6f 67 72 |structur|ed progr|
|00000230| 61 6d 6d 69 6e 67 20 6c | 61 6e 67 75 61 67 65 20 |amming l|anguage |
|00000240| 61 6e 64 00 00 00 00 aa | 00 09 00 4c c3 6d 61 6e |and.....|...L.man|
|00000250| 79 20 69 6d 70 6c 65 6d | 65 6e 74 61 74 69 6f 6e |y implem|entation|
|00000260| 73 20 6f 66 20 42 61 73 | 69 63 20 6c 61 63 6b 20 |s of Bas|ic lack |
|00000270| 65 6e 68 61 6e 63 65 6d | 65 6e 74 73 20 fd 00 34 |enhancem|ents ..4|
|00000280| 67 69 76 65 20 69 74 20 | 70 6f 77 65 72 20 74 6f |give it |power to|
|00000290| 20 70 65 72 66 6f 72 6d | 00 00 00 b6 00 09 00 57 | perform|.......W|
|000002a0| c3 61 64 76 61 6e 63 65 | 64 20 66 75 6e 63 74 69 |.advance|d functi|
|000002b0| 6f 6e 73 2e 20 20 41 6c | 73 6f 20 69 74 20 68 61 |ons. Al|so it ha|
|000002c0| 73 20 62 65 65 6e 20 73 | 61 69 64 20 6d 61 6e 79 |s been s|aid many|
|000002d0| 20 74 69 6d 65 73 20 74 | 68 61 74 20 69 74 20 69 | times t|hat it i|
|000002e0| 73 20 6d 75 63 68 20 68 | 61 72 64 65 72 20 74 6f |s much h|arder to|
|000002f0| 20 66 6f 6c 6c 6f 77 00 | 00 00 00 c2 00 09 00 52 | follow.|.......R|
|00000300| c3 74 68 65 20 70 72 6f | 67 72 61 6d 20 66 6c 6f |.the pro|gram flo|
|00000310| 77 20 69 6e 20 42 61 73 | 69 63 20 74 68 61 6e 20 |w in Bas|ic than |
|00000320| 69 6e 20 6f 74 68 65 72 | 20 6c 61 6e 67 75 61 67 |in other| languag|
|00000330| 65 73 20 6c 69 6b 65 20 | 50 61 73 63 61 6c 2e 20 |es like |Pascal. |
|00000340| 54 68 6f 73 65 20 77 68 | 6f 20 63 6f 6d 70 6c 61 |Those wh|o compla|
|00000350| 69 6e 00 00 00 ce 00 09 | 00 59 c3 61 62 6f 75 74 |in......|.Y.about|
|00000360| 20 74 68 65 20 6c 69 6d | 69 74 61 74 69 6f 6e 73 | the lim|itations|
|00000370| 20 6f 66 20 42 61 73 69 | 63 20 61 72 65 20 73 6f | of Basi|c are so|
|00000380| 6d 65 74 69 6d 65 73 20 | 71 75 69 74 65 20 6a 75 |metimes |quite ju|
|00000390| 73 74 69 66 69 65 64 20 | 69 6e 20 74 68 65 69 72 |stified |in their|
|000003a0| 20 63 6f 6d 70 6c 61 69 | 6e 74 73 2e 20 20 41 66 | complai|nts. Af|
|000003b0| 74 65 72 00 00 00 00 da | 00 09 00 59 c3 61 6c 6c |ter.....|...Y.all|
|000003c0| 2c 20 62 61 73 69 63 20 | ff d2 42 41 53 49 43 ff |, basic |..BASIC.|
|000003d0| d3 20 69 73 6e ff d5 74 | 20 76 65 72 79 20 70 6f |. isn..t| very po|
|000003e0| 77 65 72 66 75 6c 20 61 | 6e 64 20 6e 6f 74 20 76 |werful a|nd not v|
|000003f0| 65 72 79 20 66 6c 65 78 | 69 62 6c 65 20 61 74 20 |ery flex|ible at |
|00000400| 61 6c 6c 2e 20 20 41 6e | 79 20 65 6e 68 61 6e 63 |all. An|y enhanc|
|00000410| 65 6d 65 6e 74 00 00 00 | 00 e6 00 09 00 55 c3 61 |ement...|.....U.a|
|00000420| 74 20 61 6c 6c 20 69 73 | 20 61 6e 20 69 6d 70 72 |t all is| an impr|
|00000430| 6f 76 65 6d 65 6e 74 2e | 20 20 54 68 69 73 20 68 |ovement.| This h|
|00000440| 61 73 20 62 65 65 6e 20 | 74 68 65 20 63 61 73 65 |as been |the case|
|00000450| 75 70 20 75 6e 74 69 6c | 20 6e 6f 77 2e 20 4e 6f |up until| now. No|
|00000460| 77 2c 20 74 68 65 20 65 | 6e 68 61 6e 63 65 6d 65 |w, the e|nhanceme|
|00000470| 6e 74 73 00 00 00 00 f2 | 00 09 00 56 c3 74 68 61 |nts.....|...V.tha|
|00000480| 74 20 77 65 20 66 69 6e | 64 20 69 6e 20 4d 61 63 |t we fin|d in Mac|
|00000490| 69 6e 74 6f 73 68 20 42 | 61 73 69 63 20 61 72 65 |intosh B|asic are|
|000004a0| 20 61 70 70 72 6f 61 63 | 68 69 6e 67 20 74 68 65 | approac|hing the|
|000004b0| 20 70 6f 77 65 72 20 6f | 66 20 74 68 65 20 6d 6f | power o|f the mo|
|000004c0| 72 65 20 61 63 63 65 70 | 74 61 62 6c 65 20 68 69 |re accep|table hi|
|000004d0| 67 68 00 00 00 fe 00 09 | 00 53 c3 6c 65 76 65 6c |gh......|.S.level|
|000004e0| 20 6c 61 6e 67 75 61 67 | 65 73 20 73 75 63 68 20 | languag|es such |
|000004f0| 61 73 20 50 61 73 63 61 | 6c 2e 20 20 45 78 70 6c |as Pasca|l. Expl|
|00000500| 6f 72 69 6e 67 20 4d 61 | 63 69 6e 74 6f 73 68 20 |oring Ma|cintosh |
|00000510| 42 61 73 69 63 20 63 6f | 6d 70 75 74 69 6e 67 20 |Basic co|mputing |
|00000520| 70 6f 77 65 72 20 69 73 | 20 77 68 61 74 00 00 00 |power is| what...|
|00000530| 01 0a 00 09 00 1a c3 74 | 68 69 73 20 63 6f 6c 75 |.......t|his colu|
|00000540| 6d 6e 20 69 73 20 61 6c | 6c 20 61 62 6f 75 74 2e |mn is al|l about.|
|00000550| 00 00 01 16 00 24 00 4b | c3 49 6e 20 74 68 65 20 |.....$.K|.In the |
|00000560| 6c 61 73 74 20 66 65 77 | 20 6d 6f 6e 74 68 73 20 |last few| months |
|00000570| 77 65 20 68 61 76 65 20 | 73 65 65 6e 20 74 68 65 |we have |seen the|
|00000580| 20 65 76 6f 6c 75 74 69 | 6f 6e 20 6f 66 20 74 68 | evoluti|on of th|
|00000590| 65 20 70 72 6f 67 72 61 | 6d 6d 69 6e 67 20 74 6f |e progra|mming to|
|000005a0| 6f 6c 73 00 00 00 01 22 | 00 09 00 51 c3 6e 65 65 |ols...."|...Q.nee|
|000005b0| 64 65 64 20 74 6f 20 70 | 72 6f 67 72 61 6d 20 74 |ded to p|rogram t|
|000005c0| 68 65 20 4d 61 63 20 6f | 6e 20 74 68 65 20 4d 61 |he Mac o|n the Ma|
|000005d0| 63 2e 20 20 49 6e 20 74 | 68 65 20 63 6f 6d 69 6e |c. In t|he comin|
|000005e0| 67 20 69 73 73 75 65 73 | 2c 20 77 65 20 77 69 6c |g issues|, we wil|
|000005f0| 6c 20 65 78 70 6c 6f 72 | 65 20 74 68 65 00 00 00 |l explor|e the...|
|00000600| 01 2e 00 09 00 56 c3 65 | 6e 68 61 6e 63 65 6d 65 |.....V.e|nhanceme|
|00000610| 6e 74 73 20 69 6e 63 6c | 75 64 65 64 20 69 6e 20 |nts incl|uded in |
|00000620| 74 68 65 20 6e 65 77 20 | 4d 61 63 42 61 73 69 63 |the new |MacBasic|
|00000630| 20 61 6e 64 20 69 6e 20 | 4d 69 63 72 6f 73 6f 66 | and in |Microsof|
|00000640| 74 20 42 61 73 69 63 20 | 56 65 72 73 69 6f 6e 20 |t Basic |Version |
|00000650| 32 2e 30 2e 20 20 41 74 | 20 74 68 65 00 00 01 3a |2.0. At| the...:|
|00000660| 00 09 00 58 c3 77 72 69 | 74 69 6e 67 20 6f 66 20 |...X.wri|ting of |
|00000670| 74 68 69 73 20 61 72 74 | 69 63 6c 65 20 4d 69 63 |this art|icle Mic|
|00000680| 72 6f 73 6f 66 74 20 20 | 74 65 6c 6c 73 20 6d 65 |rosoft |tells me|
|00000690| 20 74 68 61 74 20 74 68 | 65 79 20 69 6e 74 65 6e | that th|ey inten|
|000006a0| 64 20 74 6f 20 72 65 6c | 65 61 73 65 20 4d 69 63 |d to rel|ease Mic|
|000006b0| 72 6f 73 6f 66 74 20 42 | 61 73 69 63 00 00 01 46 |rosoft B|asic...F|
|000006c0| 00 09 00 57 c3 56 65 72 | 73 69 6f 6e 20 32 2e 30 |...W.Ver|sion 2.0|
|000006d0| 20 62 79 20 74 68 65 20 | 65 6e 64 20 6f 66 20 4f | by the |end of O|
|000006e0| 63 74 6f 62 65 72 20 6f | 72 20 73 6f 6d 65 74 69 |ctober o|r someti|
|000006f0| 6d 65 20 69 6e 20 4e 6f | 76 65 6d 62 65 72 2e 20 |me in No|vember. |
|00000700| 20 49 ff d5 6d 20 74 6f | 6c 64 20 74 68 61 74 20 | I..m to|ld that |
|00000710| 69 74 20 69 6e 63 6c 75 | 64 65 73 00 00 00 01 52 |it inclu|des....R|
|00000720| 00 09 00 4b c3 6d 61 6e | 79 20 65 6e 68 61 6e 63 |...K.man|y enhanc|
|00000730| 65 6d 65 6e 74 73 20 fd | 00 34 69 6e 20 6d 79 20 |ements .|.4in my |
|00000740| 6f 70 69 6e 69 6f 6e 20 | 73 68 6f 75 6c 64 20 68 |opinion |should h|
|00000750| 61 76 65 20 62 65 65 6e | 20 69 6e 63 6c 75 64 65 |ave been| include|
|00000760| 64 20 66 72 6f 6d 20 74 | 68 65 20 76 65 72 79 00 |d from t|he very.|
|00000770| 00 00 01 5e 00 09 00 53 | c3 66 69 72 73 74 20 69 |...^...S|.first i|
|00000780| 6e 74 72 6f 64 75 63 74 | 69 6f 6e 20 6f 66 20 4d |ntroduct|ion of M|
|00000790| 69 63 72 6f 73 6f 66 74 | 20 42 61 73 69 63 20 74 |icrosoft| Basic t|
|000007a0| 6f 20 74 68 65 20 4d 61 | 63 69 6e 74 6f 73 68 20 |o the Ma|cintosh |
|000007b0| 77 6f 72 6c 64 2e 20 20 | 20 54 68 65 73 65 20 65 |world. | These e|
|000007c0| 6e 68 61 6e 63 65 6d 65 | 6e 74 73 00 00 00 01 6a |nhanceme|nts....j|
|000007d0| 00 09 00 46 c3 69 6e 63 | 6c 75 64 65 20 70 72 6f |...F.inc|lude pro|
|000007e0| 67 72 61 6d 6d 61 62 6c | 65 20 fe 00 33 73 2c 20 |grammabl|e ..3s, |
|000007f0| 6d 65 6e 75 73 2c 20 73 | 63 72 6f 6c 6c 69 6e 67 |menus, s|crolling|
|00000800| 2c 20 73 6f 75 6e 64 20 | 61 6e 64 20 73 6f 75 6e |, sound |and soun|
|00000810| 64 20 65 66 66 65 63 74 | 73 2c 00 00 01 76 00 09 |d effect|s,...v..|
|00000820| 00 53 c3 63 6f 6d 70 61 | 74 61 62 69 6c 69 74 79 |.S.compa|tability|
|00000830| 20 77 69 74 68 20 4d 61 | 63 57 72 69 74 65 2c 20 | with Ma|cWrite, |
|00000840| 63 6f 6d 70 6c 65 74 65 | 20 6d 6f 75 73 65 20 63 |complete| mouse c|
|00000850| 6f 6e 74 72 6f 6c 2c 20 | 65 64 69 74 69 6e 67 2c |ontrol, |editing,|
|00000860| 20 64 65 62 75 67 67 69 | 6e 67 2c 20 61 63 63 65 | debuggi|ng, acce|
|00000870| 73 73 20 74 6f 00 00 00 | 01 82 00 09 00 57 c3 6d |ss to...|.....W.m|
|00000880| 6f 73 74 20 69 66 20 6e | 6f 74 20 61 6c 6c 20 6f |ost if n|ot all o|
|00000890| 66 20 74 68 65 20 4d 61 | 63 20 69 6e 74 65 72 6e |f the Ma|c intern|
|000008a0| 61 6c 20 52 4f 4d 20 72 | 6f 75 74 69 6e 65 73 2c |al ROM r|outines,|
|000008b0| 20 61 6e 64 20 65 6c 69 | 6d 69 6e 61 74 69 6f 6e | and eli|mination|
|000008c0| 20 6f 66 20 74 68 65 20 | 6e 65 65 64 20 66 6f 72 | of the |need for|
|000008d0| 20 6c 69 6e 65 00 00 00 | 01 8e 00 09 00 53 c3 6e | line...|.....S.n|
|000008e0| 75 6d 62 65 72 73 2e 20 | 20 54 68 69 73 20 69 73 |umbers. | This is|
|000008f0| 20 77 68 61 74 20 49 20 | 63 61 6c 6c 20 70 72 6f | what I |call pro|
|00000900| 67 72 61 6d 6d 69 6e 67 | 20 6d 61 64 65 20 65 61 |gramming| made ea|
|00000910| 73 79 2e 20 20 46 72 6f | 6d 20 77 68 61 74 20 49 |sy. Fro|m what I|
|00000920| ff d5 76 65 20 73 65 65 | 6e 20 73 6f 20 66 61 72 |..ve see|n so far|
|00000930| 2c 00 00 00 01 9a 00 09 | 00 4f c3 fd 00 2f 77 69 |,.......|.O.../wi|
|00000940| 6c 6c 20 62 65 20 71 75 | 69 74 65 20 61 20 63 6f |ll be qu|ite a co|
|00000950| 6d 70 65 74 69 74 69 6f | 6e 20 62 65 74 77 65 65 |mpetitio|n betwee|
|00000960| 6e 20 4d 61 63 42 61 73 | 69 63 20 61 6e 64 20 4d |n MacBas|ic and M|
|00000970| 69 63 72 6f 73 6f 66 74 | 20 42 61 73 69 63 20 32 |icrosoft| Basic 2|
|00000980| 2e 30 20 69 6e 20 74 68 | 65 00 00 00 01 a6 00 09 |.0 in th|e.......|
|00000990| 00 0f c3 63 6f 6d 69 6e | 67 20 6d 6f 6e 74 68 73 |...comin|g months|
|000009a0| 2e 00 00 00 01 b2 00 24 | 00 4a c3 54 68 65 20 4d |.......$|.J.The M|
|000009b0| 61 63 20 42 61 73 69 63 | 20 fd 00 21 73 68 6f 77 |ac Basic| ..!show|
|000009c0| 73 20 61 6e 20 65 78 61 | 6d 70 6c 65 20 6f 66 20 |s an exa|mple of |
|000009d0| 74 68 65 20 65 61 73 65 | 20 69 6e 20 64 6f 63 75 |the ease| in docu|
|000009e0| 6d 65 6e 74 69 6e 67 20 | 61 20 70 72 6f 67 72 61 |menting |a progra|
|000009f0| 6d 20 61 73 00 00 01 be | 00 09 00 54 c3 69 74 20 |m as....|...T.it |
|00000a00| 69 73 20 77 72 69 74 74 | 65 6e 2e 20 20 49 20 6f |is writt|en. I o|
|00000a10| 72 69 67 69 6e 61 6c 6c | 79 20 77 72 6f 74 65 20 |riginall|y wrote |
|00000a20| 74 68 65 20 70 72 6f 67 | 72 61 6d 20 69 6e 20 4d |the prog|ram in M|
|00000a30| 69 63 72 6f 73 6f 66 74 | 20 42 61 73 69 63 20 76 |icrosoft| Basic v|
|00000a40| 65 72 73 69 6f 6e 20 31 | 2e 30 20 61 73 20 61 6e |ersion 1|.0 as an|
|00000a50| 00 00 01 ca 00 09 00 54 | c3 65 64 75 63 61 74 69 |.......T|.educati|
|00000a60| 6f 6e 61 6c 20 74 6f 6f | 6c 20 66 6f 72 20 6d 79 |onal too|l for my|
|00000a70| 20 32 20 79 65 61 72 20 | 6f 6c 64 20 74 6f 20 6c | 2 year |old to l|
|00000a80| 65 61 72 6e 20 68 69 73 | 20 61 6c 70 68 61 62 65 |earn his| alphabe|
|00000a90| 74 2e 20 20 20 54 68 65 | 20 70 72 6f 67 72 61 6d |t. The| program|
|00000aa0| 20 20 70 72 69 6e 74 73 | 20 74 68 65 00 00 01 d6 | prints| the....|
|00000ab0| 00 09 00 53 c3 61 6c 70 | 68 61 62 65 74 20 61 6e |...S.alp|habet an|
|00000ac0| 64 20 74 68 65 6e 20 70 | 72 6f 6d 70 74 73 20 74 |d then p|rompts t|
|00000ad0| 68 65 20 75 73 65 72 20 | 74 6f 20 66 69 6e 64 20 |he user |to find |
|00000ae0| 65 61 63 68 20 6c 65 74 | 74 65 72 20 6f 6e 65 20 |each let|ter one |
|00000af0| 61 74 20 61 20 74 69 6d | 65 2e 54 68 65 6e 20 74 |at a tim|e.Then t|
|00000b00| 68 65 20 75 73 65 72 00 | 00 00 01 e2 00 09 00 52 |he user.|.......R|
|00000b10| c3 70 6f 69 6e 74 73 20 | 74 6f 20 74 68 65 20 6c |.points |to the l|
|00000b20| 65 74 74 65 72 20 77 69 | 74 68 20 74 68 65 20 6d |etter wi|th the m|
|00000b30| 6f 75 73 65 20 61 6e 64 | 20 70 72 65 73 73 65 73 |ouse and| presses|
|00000b40| 20 74 68 65 20 6d 6f 75 | 73 65 20 fe 00 08 2e 20 | the mou|se .... |
|00000b50| 20 42 79 20 75 73 69 6e | 67 20 76 61 72 69 61 62 | By usin|g variab|
|00000b60| 6c 65 00 00 01 ee 00 09 | 00 55 c3 6e 61 6d 65 73 |le......|.U.names|
|00000b70| 20 74 68 61 74 20 73 68 | 6f 77 20 77 68 61 74 20 | that sh|ow what |
|00000b80| 69 73 20 68 61 70 70 65 | 6e 69 6e 67 20 61 6e 64 |is happe|ning and|
|00000b90| 20 62 79 20 74 68 65 20 | 75 73 65 20 6f 66 20 6c | by the |use of l|
|00000ba0| 69 6e 65 20 6c 61 62 65 | 6c 73 20 74 68 65 20 70 |ine labe|ls the p|
|00000bb0| 72 6f 67 72 61 6d 20 72 | 65 71 75 69 72 65 73 00 |rogram r|equires.|
|00000bc0| 00 00 01 fa 00 09 00 58 | c3 6c 69 74 74 6c 65 20 |.......X|.little |
|00000bd0| 20 64 6f 63 75 6d 65 6e | 74 61 74 69 6f 6e 2e 20 | documen|tation. |
|00000be0| 20 57 68 65 6e 20 49 20 | 77 72 69 74 65 20 70 72 | When I |write pr|
|00000bf0| 6f 67 72 61 6d 73 2c 20 | 49 20 72 61 72 65 6c 79 |ograms, |I rarely|
|00000c00| 20 68 61 76 65 20 74 68 | 65 20 74 69 6d 65 20 74 | have th|e time t|
|00000c10| 6f 20 66 69 6e 69 73 68 | 20 75 70 20 77 69 74 68 |o finish| up with|
|00000c20| 00 00 02 06 00 09 00 53 | c3 64 6f 63 75 6d 65 6e |.......S|.documen|
|00000c30| 74 61 74 69 6f 6e 20 65 | fe 00 2d 6c 79 20 77 68 |tation e|..-ly wh|
|00000c40| 65 6e 20 6d 79 20 32 20 | 79 65 61 72 2d 6f 6c 64 |en my 2 |year-old|
|00000c50| 20 63 61 6e ff d5 74 20 | 77 61 69 74 20 74 6f 20 | can..t |wait to |
|00000c60| 73 74 61 72 74 20 74 68 | 65 20 67 61 6d 65 2e 20 |start th|e game. |
|00000c70| 20 54 68 65 20 75 73 65 | 20 6f 66 00 00 00 02 12 | The use| of.....|
|00000c80| 00 09 00 52 c3 74 68 65 | 73 65 20 6c 61 62 65 6c |...R.the|se label|
|00000c90| 73 20 77 69 6c 6c 20 62 | 65 20 66 61 6d 69 6c 69 |s will b|e famili|
|00000ca0| 61 72 20 74 6f 20 61 6e | 79 6f 6e 65 20 77 68 6f |ar to an|yone who|
|00000cb0| 20 68 61 73 20 75 73 65 | 64 20 42 61 73 69 63 20 | has use|d Basic |
|00000cc0| 6f 6e 20 74 68 65 20 48 | 65 77 6c 65 74 74 20 50 |on the H|ewlett P|
|00000cd0| 61 63 6b 61 72 64 00 00 | 02 1e 00 09 00 55 c3 39 |ackard..|.....U.9|
|00000ce0| 38 32 36 2d 33 36 20 73 | 65 72 69 65 73 20 63 6f |826-36 s|eries co|
|00000cf0| 6d 70 75 74 65 72 73 2e | 20 20 54 68 65 20 6c 61 |mputers.| The la|
|00000d00| 62 65 6c 20 6e 61 6d 65 | 20 69 73 20 75 73 65 64 |bel name| is used|
|00000d10| 20 69 6e 20 65 61 63 68 | 20 6f 66 20 74 68 65 20 | in each| of the |
|00000d20| 67 6f 73 75 62 20 73 74 | 61 74 65 6d 65 6e 74 73 |gosub st|atements|
|00000d30| 20 69 6e 00 00 00 02 2a | 00 09 00 51 c3 70 6c 61 | in....*|...Q.pla|
|00000d40| 63 65 20 6f 66 20 74 68 | 65 20 6c 69 6e 65 20 6e |ce of th|e line n|
|00000d50| 75 6d 62 65 72 73 2e 20 | 20 54 68 69 73 20 6d 61 |umbers. | This ma|
|00000d60| 6b 65 73 20 74 68 65 20 | 75 73 65 20 6f 66 20 6c |kes the |use of l|
|00000d70| 69 6e 65 20 6e 75 6d 62 | 65 72 73 20 75 6e 6e 65 |ine numb|ers unne|
|00000d80| 63 65 73 73 61 72 79 2e | 20 20 54 68 65 00 00 00 |cessary.| The...|
|00000d90| 02 36 00 09 00 56 c3 63 | 6f 72 65 73 70 6f 6e 64 |.6...V.c|orespond|
|00000da0| 69 6e 67 20 6c 61 62 65 | 6c 20 6e 61 6d 65 20 61 |ing labe|l name a|
|00000db0| 6c 73 6f 20 61 70 70 65 | 61 72 73 20 61 74 20 74 |lso appe|ars at t|
|00000dc0| 68 65 20 62 65 67 69 6e | 6e 69 6e 67 20 6f 66 20 |he begin|ning of |
|00000dd0| 74 68 65 20 73 75 62 72 | 6f 75 74 69 6e 65 20 66 |the subr|outine f|
|00000de0| 6f 6c 6c 6f 77 65 64 20 | 62 79 20 61 00 00 02 42 |ollowed |by a...B|
|00000df0| 00 09 00 57 c3 63 6f 6c | 6f 6e 2e 20 20 42 79 20 |...W.col|on. By |
|00000e00| 69 6e 64 65 6e 74 69 6e | 67 20 74 68 65 20 74 65 |indentin|g the te|
|00000e10| 78 74 20 6f 66 20 74 68 | 65 20 70 72 6f 67 72 61 |xt of th|e progra|
|00000e20| 6d 20 77 69 74 68 69 6e | 20 65 61 63 68 20 73 75 |m within| each su|
|00000e30| 62 72 6f 75 74 69 6e 65 | 2c 20 69 74 20 69 73 20 |broutine|, it is |
|00000e40| 63 6c 65 61 72 20 77 68 | 65 72 65 00 00 00 02 4e |clear wh|ere....N|
|00000e50| 00 09 00 55 c3 74 68 65 | 20 73 75 62 72 6f 75 74 |...U.the| subrout|
|00000e60| 69 6e 65 20 73 74 61 72 | 74 73 20 61 6e 64 20 65 |ine star|ts and e|
|00000e70| 6e 64 73 20 61 6e 64 20 | 74 68 65 20 6c 61 62 65 |nds and |the labe|
|00000e80| 6c 20 67 69 76 65 73 20 | 61 20 63 6c 75 65 20 61 |l gives |a clue a|
|00000e90| 73 20 74 6f 20 77 68 61 | 74 20 65 61 63 68 20 73 |s to wha|t each s|
|00000ea0| 75 62 72 6f 75 74 69 6e | 65 00 00 00 02 5a 00 09 |ubroutin|e....Z..|
|00000eb0| 00 07 c3 64 6f 65 73 2e | 20 00 00 00 02 66 00 24 |...does.| ....f.$|
|00000ec0| 00 4d c3 20 20 20 20 4e | 65 78 74 20 6d 6f 6e 74 |.M. N|ext mont|
|00000ed0| 68 20 77 65 20 77 69 6c | 6c 20 65 78 70 6c 6f 72 |h we wil|l explor|
|00000ee0| 65 20 20 42 61 73 69 63 | 20 70 72 6f 67 72 61 6d |e Basic| program|
|00000ef0| 6d 69 6e 67 20 6f 6e 20 | 74 68 65 20 4d 61 63 20 |ming on |the Mac |
|00000f00| 69 6e 20 6d 6f 72 65 20 | 64 65 74 61 69 6c 2e 00 |in more |detail..|
|00000f10| 00 00 02 80 00 04 00 02 | f3 00 00 00 02 8c 00 12 |........|........|
|00000f20| 00 26 c8 31 30 20 27 2a | 2a 2a 2a 2a 2a 2a 2a 2a |.&.10 '*|********|
|00000f30| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000f40| 2a 2a 2a 2a 2a 2a 2a 2a | 00 00 02 97 00 12 00 1b |********|........|
|00000f50| c8 32 30 20 27 20 20 20 | 20 20 20 20 20 20 41 6c |.20 ' | Al|
|00000f60| 70 68 61 62 65 74 20 53 | 6f 75 70 00 00 00 02 a2 |phabet S|oup.....|
|00000f70| 00 12 00 1c c8 33 30 20 | 27 20 20 20 20 20 20 20 |.....30 |' |
|00000f80| 20 20 42 79 20 44 61 76 | 69 64 20 4b 65 6c 6c 79 | By Dav|id Kelly|
|00000f90| 00 00 02 ad 00 12 00 22 | c8 34 30 20 27 20 20 20 |......."|.40 ' |
|00000fa0| 20 20 20 20 20 20 4d 53 | 20 42 61 73 69 63 20 56 | MS| Basic V|
|00000fb0| 65 72 73 69 6f 6e 20 31 | 2e 30 00 00 02 b8 00 12 |ersion 1|.0......|
|00000fc0| 00 26 c8 37 30 20 27 2a | 2a 2a 2a 2a 2a 2a 2a 2a |.&.70 '*|********|
|00000fd0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000fe0| 2a 2a 2a 2a 2a 2a 2a 2a | 00 00 02 c3 00 12 00 2d |********|.......-|
|00000ff0| c8 31 30 30 30 20 44 49 | 4d 20 54 4f 50 25 28 32 |.1000 DI|M TOP%(2|
|00001000| 36 29 2c 42 4f 54 25 28 | 32 36 29 2c 52 47 54 25 |6),BOT%(|26),RGT%|
|00001010| 28 32 36 29 2c 4c 46 54 | 25 28 32 36 29 00 00 00 |(26),LFT|%(26)...|
|00001020| 02 ce 00 12 00 19 c8 31 | 30 31 30 20 46 4f 52 20 |.......1|010 FOR |
|00001030| 4c 45 54 54 45 52 25 3d | 31 20 54 4f 20 32 36 00 |LETTER%=|1 TO 26.|
|00001040| 00 00 02 d9 00 12 00 3d | c8 31 30 32 30 20 20 20 |.......=|.1020 |
|00001050| 20 20 20 20 52 45 41 44 | 20 4c 46 54 25 28 4c 45 | READ| LFT%(LE|
|00001060| 54 54 45 52 25 29 2c 20 | 54 4f 50 25 28 4c 45 54 |TTER%), |TOP%(LET|
|00001070| 54 45 52 25 29 2c 20 52 | 47 54 25 28 4c 45 54 54 |TER%), R|GT%(LETT|
|00001080| 45 52 25 29 2c 00 00 00 | 02 e4 00 12 00 0e c8 42 |ER%),...|.......B|
|00001090| 4f 54 25 28 4c 45 54 54 | 45 52 25 29 00 00 02 ef |OT%(LETT|ER%)....|
|000010a0| 00 12 00 12 c8 31 30 33 | 30 20 4e 45 58 54 20 4c |.....103|0 NEXT L|
|000010b0| 45 54 54 45 52 25 00 00 | 02 fa 00 12 00 24 c8 31 |ETTER%..|.....$.1|
|000010c0| 30 34 30 20 47 4f 53 55 | 42 20 31 30 39 30 3a 20 |040 GOSU|B 1090: |
|000010d0| 20 20 27 20 50 72 69 6e | 74 5f 61 6c 70 68 61 62 | ' Prin|t_alphab|
|000010e0| 65 74 00 00 03 05 00 12 | 00 26 c8 31 30 35 30 20 |et......|.&.1050 |
|000010f0| 46 4f 52 20 4c 45 54 54 | 45 52 25 3d 41 53 43 28 |FOR LETT|ER%=ASC(|
|00001100| 22 41 22 29 20 54 4f 20 | 41 53 43 28 22 5a 22 29 |"A") TO |ASC("Z")|
|00001110| 00 00 03 10 00 12 00 27 | c8 31 30 36 30 20 20 20 |.......'|.1060 |
|00001120| 20 20 20 20 47 4f 53 55 | 42 20 31 32 30 30 3a 20 | GOSU|B 1200: |
|00001130| 27 41 73 6b 5f 66 6f 72 | 5f 6c 65 74 74 65 72 00 |'Ask_for|_letter.|
|00001140| 00 00 03 1b 00 12 00 12 | c8 31 30 37 30 20 4e 45 |........|.1070 NE|
|00001150| 58 54 20 4c 45 54 54 45 | 52 25 00 00 03 26 00 12 |XT LETTE|R%...&..|
|00001160| 00 3d c8 31 30 38 30 20 | 43 41 4c 4c 20 54 45 58 |.=.1080 |CALL TEX|
|00001170| 54 4d 4f 44 45 28 30 29 | 3a 43 41 4c 4c 20 54 45 |TMODE(0)|:CALL TE|
|00001180| 58 54 46 41 43 45 28 30 | 29 3a 43 41 4c 4c 20 54 |XTFACE(0|):CALL T|
|00001190| 45 58 54 46 4f 4e 54 28 | 31 29 3a 43 41 4c 4c 00 |EXTFONT(|1):CALL.|
|000011a0| 00 00 03 31 00 12 00 11 | c8 54 45 58 54 53 49 5a |...1....|.TEXTSIZ|
|000011b0| 45 28 31 32 29 3a 45 4e | 44 00 00 00 03 47 00 12 |E(12):EN|D....G..|
|000011c0| 00 20 c8 31 30 39 30 20 | 27 20 50 72 69 6e 74 5f |. .1090 |' Print_|
|000011d0| 61 6c 70 68 61 62 65 74 | 20 74 6f 20 73 63 72 65 |alphabet| to scre|
|000011e0| 65 6e 00 00 03 52 00 12 | 00 16 c8 31 31 30 30 20 |en...R..|...1100 |
|000011f0| 43 4c 53 20 3a 20 20 27 | 43 6c 65 61 72 fe 00 33 |CLS : '|Clear..3|
|00001200| 00 00 03 5d 00 12 00 2e | c8 31 31 31 30 20 43 41 |...]....|.1110 CA|
|00001210| 4c 4c 20 54 45 58 54 46 | 4f 4e 54 28 32 29 3a 20 |LL TEXTF|ONT(2): |
|00001220| 27 20 53 65 74 20 74 6f | 20 4e 65 77 20 59 6f 72 |' Set to| New Yor|
|00001230| 6b 20 46 6f 6e 74 00 00 | 03 68 00 12 00 2e c8 31 |k Font..|.h.....1|
|00001240| 31 32 30 20 43 41 4c 4c | 20 54 45 58 54 53 49 5a |120 CALL| TEXTSIZ|
|00001250| 45 28 32 34 29 3a 20 27 | 20 53 65 74 20 46 6f 6e |E(24): '| Set Fon|
|00001260| 74 20 73 69 7a 65 20 74 | 6f 20 32 34 00 00 03 73 |t size t|o 24...s|
|00001270| 00 12 00 2b c8 31 31 33 | 30 20 43 41 4c 4c 20 54 |...+.113|0 CALL T|
|00001280| 45 58 54 4d 4f 44 45 28 | 32 29 3a 20 27 53 65 74 |EXTMODE(|2): 'Set|
|00001290| 73 20 73 63 72 65 65 6e | 20 74 6f 20 58 4f 52 00 |s screen| to XOR.|
|000012a0| 00 00 03 7e 00 12 00 31 | c8 31 31 34 30 20 43 41 |...~...1|.1140 CA|
|000012b0| 4c 4c 20 54 45 58 54 46 | 41 43 45 28 30 29 3a 20 |LL TEXTF|ACE(0): |
|000012c0| 27 53 65 74 73 20 66 61 | 63 65 20 74 6f 20 70 6c |'Sets fa|ce to pl|
|000012d0| 61 69 6e 20 73 74 79 6c | 65 00 00 00 03 89 00 12 |ain styl|e.......|
|000012e0| 00 1b c8 31 31 35 30 20 | 46 4f 52 20 4c 45 54 54 |...1150 |FOR LETT|
|000012f0| 45 52 25 20 3d 20 31 20 | 54 4f 20 32 36 00 00 00 |ER% = 1 |TO 26...|
|00001300| 03 94 00 12 00 35 c8 31 | 31 36 30 20 20 43 41 4c |.....5.1|160 CAL|
|00001310| 4c 20 4d 4f 56 45 54 4f | 28 4c 46 54 25 28 4c 45 |L MOVETO|(LFT%(LE|
|00001320| 54 54 45 52 25 29 2c 42 | 4f 54 25 28 4c 45 54 54 |TTER%),B|OT%(LETT|
|00001330| 45 52 25 29 29 3a 50 52 | 49 4e 54 00 00 00 03 9f |ER%)):PR|INT.....|
|00001340| 00 12 00 19 c8 43 48 52 | 24 28 41 53 43 28 22 41 |.....CHR|$(ASC("A|
|00001350| 22 29 2d 31 2b 4c 45 54 | 54 45 52 25 29 00 00 00 |")-1+LET|TER%)...|
|00001360| 03 aa 00 12 00 12 c8 31 | 31 37 30 20 4e 45 58 54 |.......1|170 NEXT|
|00001370| 20 4c 45 54 54 45 52 25 | 00 00 03 b5 00 12 00 2e | LETTER%|........|
|00001380| c8 31 31 38 30 20 43 41 | 4c 4c 20 54 45 58 54 53 |.1180 CA|LL TEXTS|
|00001390| 49 5a 45 28 31 32 29 3a | 20 20 27 53 65 74 20 66 |IZE(12):| 'Set f|
|000013a0| 6f 6e 74 20 73 69 7a 65 | 20 74 6f 20 31 32 00 00 |ont size| to 12..|
|000013b0| 03 c0 00 12 00 0c c8 31 | 31 39 30 20 52 45 54 55 |.......1|190 RETU|
|000013c0| 52 4e 00 00 03 d6 00 12 | 00 16 c8 31 32 30 30 20 |RN......|...1200 |
|000013d0| 27 20 41 73 6b 5f 66 6f | 72 5f 6c 65 74 74 65 72 |' Ask_fo|r_letter|
|000013e0| 00 00 03 e1 00 12 00 36 | c8 31 32 31 30 20 43 41 |.......6|.1210 CA|
|000013f0| 4c 4c 20 4d 4f 56 45 54 | 4f 20 28 31 32 35 2c 31 |LL MOVET|O (125,1|
|00001400| 37 35 29 3a 50 52 49 4e | 54 20 22 46 69 6e 64 20 |75):PRIN|T "Find |
|00001410| 74 68 65 20 6c 65 74 74 | 65 72 3a 20 22 3b 00 00 |the lett|er: ";..|
|00001420| 03 ec 00 12 00 2d c8 31 | 32 32 30 20 43 41 4c 4c |.....-.1|220 CALL|
|00001430| 20 54 45 58 54 53 49 5a | 45 28 32 34 29 3a 20 27 | TEXTSIZ|E(24): '|
|00001440| 53 65 74 20 46 6f 6e 74 | 20 73 69 7a 65 20 74 6f |Set Font| size to|
|00001450| 20 32 34 00 00 00 03 f7 | 00 12 00 16 c8 31 32 33 | 24.....|.....123|
|00001460| 30 20 43 41 4c 4c 20 54 | 45 58 54 4d 4f 44 45 28 |0 CALL T|EXTMODE(|
|00001470| 30 29 00 00 04 02 00 12 | 00 1d c8 31 32 34 30 20 |0)......|...1240 |
|00001480| 50 52 49 4e 54 20 22 20 | 22 3b 43 48 52 24 28 4c |PRINT " |";CHR$(L|
|00001490| 45 54 54 45 52 25 29 00 | 00 00 04 0d 00 12 00 17 |ETTER%).|........|
|000014a0| c8 31 32 35 30 20 43 41 | 4c 4c 20 54 45 58 54 53 |.1250 CA|LL TEXTS|
|000014b0| 49 5a 45 28 31 32 29 00 | 00 00 04 18 00 12 00 16 |IZE(12).|........|
|000014c0| c8 31 32 36 30 20 43 41 | 4c 4c 20 50 45 4e 4d 4f |.1260 CA|LL PENMO|
|000014d0| 44 45 28 31 30 29 00 00 | 04 2e 00 12 00 27 c8 31 |DE(10)..|.....'.1|
|000014e0| 32 37 30 20 49 46 20 4d | 4f 55 53 45 28 30 29 3d |270 IF M|OUSE(0)=|
|000014f0| 30 20 54 48 45 4e 20 31 | 32 37 30 3a 20 27 fd 00 |0 THEN 1|270: '..|
|00001500| 08 77 61 69 74 00 00 00 | 04 39 00 12 00 1e c8 31 |.wait...|.9.....1|
|00001510| 32 38 30 20 58 32 3d 4d | 4f 55 53 45 28 31 29 3a |280 X2=M|OUSE(1):|
|00001520| 20 59 32 3d 4d 4f 55 53 | 45 28 32 29 00 00 04 44 | Y2=MOUS|E(2)...D|
|00001530| 00 12 00 2d c8 31 32 39 | 30 20 43 41 4c 4c 20 4d |...-.129|0 CALL M|
|00001540| 4f 56 45 54 4f 28 32 33 | 38 2c 31 36 38 29 3a 43 |OVETO(23|8,168):C|
|00001550| 41 4c 4c 20 4c 49 4e 45 | 54 4f 28 58 32 2c 59 32 |ALL LINE|TO(X2,Y2|
|00001560| 29 00 00 00 04 4f 00 12 | 00 1d c8 31 33 30 30 20 |)....O..|...1300 |
|00001570| 49 46 20 4d 4f 55 53 45 | 28 30 29 3c 30 20 54 48 |IF MOUSE|(0)<0 TH|
|00001580| 45 4e 20 31 33 30 30 00 | 00 00 04 5a 00 12 00 3b |EN 1300.|...Z...;|
|00001590| c8 31 33 31 30 20 49 46 | 20 28 58 32 3c 4c 46 54 |.1310 IF| (X2<LFT|
|000015a0| 25 28 4c 45 54 54 45 52 | 25 2d 36 34 29 20 4f 52 |%(LETTER|%-64) OR|
|000015b0| 20 58 32 3e 52 47 54 25 | 28 4c 45 54 54 45 52 25 | X2>RGT%|(LETTER%|
|000015c0| 2d 36 34 29 20 4f 52 20 | 59 32 3c 00 00 00 04 65 |-64) OR |Y2<....e|
|000015d0| 00 12 00 44 c8 54 4f 50 | 25 28 4c 45 54 54 45 52 |...D.TOP|%(LETTER|
|000015e0| 25 2d 36 34 29 20 4f 52 | 20 59 32 20 3e 42 4f 54 |%-64) OR| Y2 >BOT|
|000015f0| 25 28 4c 45 54 54 45 52 | 25 2d 36 34 29 29 20 54 |%(LETTER|%-64)) T|
|00001600| 48 45 4e 20 46 4c 41 47 | 25 3d 31 20 45 4c 53 45 |HEN FLAG|%=1 ELSE|
|00001610| 20 46 4c 41 47 25 3d 30 | 00 00 04 7b 00 12 00 45 | FLAG%=0|...{...E|
|00001620| c8 31 33 32 30 20 43 41 | 4c 4c 20 50 45 4e 4d 4f |.1320 CA|LL PENMO|
|00001630| 44 45 28 31 34 29 3a 50 | 41 54 54 45 52 4e 25 28 |DE(14):P|ATTERN%(|
|00001640| 30 29 3d 30 3a 43 41 4c | 4c 20 50 45 4e 50 41 54 |0)=0:CAL|L PENPAT|
|00001650| 28 56 41 52 50 54 52 28 | 50 41 54 54 45 52 4e 25 |(VARPTR(|PATTERN%|
|00001660| 28 30 29 29 29 00 00 00 | 04 86 00 12 00 3d c8 31 |(0)))...|.....=.1|
|00001670| 33 33 30 20 43 41 4c 4c | 20 4d 4f 56 45 54 4f 28 |330 CALL| MOVETO(|
|00001680| 32 33 38 2c 31 36 38 29 | 3a 20 43 41 4c 4c 20 4c |238,168)|: CALL L|
|00001690| 49 4e 45 54 4f 28 58 32 | 2c 59 32 29 3a 43 41 4c |INETO(X2|,Y2):CAL|
|000016a0| 4c 20 50 45 4e 4e 4f 52 | 4d 41 4c 00 00 00 04 91 |L PENNOR|MAL.....|
|000016b0| 00 12 00 2c c8 31 33 34 | 30 20 43 41 4c 4c 20 54 |...,.134|0 CALL T|
|000016c0| 45 58 54 4d 4f 44 45 28 | 30 29 3a 49 46 20 46 4c |EXTMODE(|0):IF FL|
|000016d0| 41 47 25 20 3d 31 20 54 | 48 45 4e 20 31 32 31 30 |AG% =1 T|HEN 1210|
|000016e0| 00 00 04 9c 00 12 00 0f | c8 31 33 35 30 20 42 45 |........|.1350 BE|
|000016f0| 45 50 3a 42 45 45 50 00 | 00 00 04 a7 00 12 00 0c |EP:BEEP.|........|
|00001700| c8 31 33 36 30 20 52 45 | 54 55 52 4e 00 00 04 b5 |.1360 RE|TURN....|
|00001710| 00 24 00 02 f5 00 00 00 | 06 6d 00 05 00 06 c3 f0 |.$......|.m......|
|00001720| 00 80 01 aa 00 00 06 85 | 00 04 00 02 f3 00 00 00 |........|........|
|00001730| 06 91 00 12 00 29 c8 31 | 33 37 30 20 44 41 54 41 |.....).1|370 DATA|
|00001740| 20 33 36 2c 32 30 2c 35 | 32 2c 37 34 20 20 20 20 | 36,20,5|2,74 |
|00001750| 20 20 20 20 20 20 20 3a | 27 41 20 64 61 74 61 00 | :|'A data.|
|00001760| 00 00 06 9c 00 12 00 29 | c8 31 33 38 30 20 44 41 |.......)|.1380 DA|
|00001770| 54 41 20 37 32 2c 32 30 | 2c 38 34 2c 37 34 20 20 |TA 72,20|,84,74 |
|00001780| 20 20 20 20 20 20 20 20 | 20 3a 27 42 20 64 61 74 | | :'B dat|
|00001790| 61 00 00 00 06 a7 00 12 | 00 27 c8 31 33 39 30 20 |a.......|.'.1390 |
|000017a0| 44 41 54 41 20 31 30 33 | 2c 32 30 2c 31 31 35 2c |DATA 103|,20,115,|
|000017b0| 37 34 20 20 20 20 20 20 | 20 3a 27 43 20 64 61 74 |74 | :'C dat|
|000017c0| 61 00 00 00 06 b2 00 12 | 00 27 c8 31 34 30 30 20 |a.......|.'.1400 |
|000017d0| 44 41 54 41 20 31 33 33 | 2c 32 30 2c 31 34 37 2c |DATA 133|,20,147,|
|000017e0| 37 34 20 20 20 20 20 20 | 20 3a 27 44 20 64 61 74 |74 | :'D dat|
|000017f0| 61 00 00 00 06 bd 00 12 | 00 27 c8 31 34 31 30 20 |a.......|.'.1410 |
|00001800| 44 41 54 41 20 31 36 35 | 2c 32 30 2c 31 37 36 2c |DATA 165|,20,176,|
|00001810| 37 34 20 20 20 20 20 20 | 20 3a 27 45 20 64 61 74 |74 | :'E dat|
|00001820| 61 00 00 00 06 c8 00 12 | 00 27 c8 31 34 32 30 20 |a.......|.'.1420 |
|00001830| 44 41 54 41 20 31 39 35 | 2c 32 30 2c 32 30 37 2c |DATA 195|,20,207,|
|00001840| 37 34 20 20 20 20 20 20 | 20 3a 27 46 20 64 61 74 |74 | :'F dat|
|00001850| 61 00 00 00 06 d3 00 12 | 00 26 c8 31 34 33 30 20 |a.......|.&.1430 |
|00001860| 44 41 54 41 20 32 32 35 | 2c 32 30 2c 32 33 39 2c |DATA 225|,20,239,|
|00001870| 37 34 20 20 20 20 20 20 | 3a 27 47 20 64 61 74 61 |74 |:'G data|
|00001880| 00 00 06 de 00 12 00 27 | c8 31 34 34 30 20 44 41 |.......'|.1440 DA|
|00001890| 54 41 20 32 35 37 2c 32 | 30 2c 32 37 32 2c 37 34 |TA 257,2|0,272,74|
|000018a0| 20 20 20 20 20 20 20 3a | 27 48 20 64 61 74 61 00 | :|'H data.|
|000018b0| 00 00 06 e9 00 12 00 27 | c8 31 34 35 30 20 44 41 |.......'|.1450 DA|
|000018c0| 54 41 20 32 39 30 2c 32 | 30 2c 33 31 35 2c 37 34 |TA 290,2|0,315,74|
|000018d0| 20 20 20 20 20 20 20 3a | 27 49 20 64 61 74 61 00 | :|'I data.|
|000018e0| 00 00 06 f4 00 12 00 27 | c8 31 34 36 30 20 44 41 |.......'|.1460 DA|
|000018f0| 54 41 20 33 33 30 2c 32 | 30 2c 33 35 30 2c 37 34 |TA 330,2|0,350,74|
|00001900| 20 20 20 20 20 20 20 3a | 27 4a 20 64 61 74 61 00 | :|'J data.|
|00001910| 00 00 06 ff 00 12 00 27 | c8 31 34 37 30 20 44 41 |.......'|.1470 DA|
|00001920| 54 41 20 33 36 39 2c 32 | 30 2c 33 38 33 2c 37 34 |TA 369,2|0,383,74|
|00001930| 20 20 20 20 20 20 20 3a | 27 4b 20 64 61 74 61 00 | :|'K data.|
|00001940| 00 00 07 0a 00 12 00 27 | c8 31 34 38 30 20 44 41 |.......'|.1480 DA|
|00001950| 54 41 20 34 30 31 2c 32 | 30 2c 34 31 34 2c 37 34 |TA 401,2|0,414,74|
|00001960| 20 20 20 20 20 20 20 3a | 27 4c 20 64 61 74 61 00 | :|'L data.|
|00001970| 00 00 07 15 00 12 00 27 | c8 31 34 39 30 20 44 41 |.......'|.1490 DA|
|00001980| 54 41 20 34 33 34 2c 32 | 30 2c 34 35 34 2c 37 34 |TA 434,2|0,454,74|
|00001990| 20 20 20 20 20 20 20 3a | 27 4d 20 64 61 74 61 00 | :|'M data.|
|000019a0| 00 00 07 20 00 12 00 28 | c8 31 35 30 30 20 44 41 |... ...(|.1500 DA|
|000019b0| 54 41 20 33 35 2c 37 35 | 2c 35 31 2c 31 32 30 20 |TA 35,75|,51,120 |
|000019c0| 20 20 20 20 20 20 20 20 | 3a 27 4e 20 64 61 74 61 | |:'N data|
|000019d0| 00 00 07 2b 00 12 00 28 | c8 31 35 31 30 20 44 41 |...+...(|.1510 DA|
|000019e0| 54 41 20 36 39 2c 37 35 | 2c 38 33 2c 31 32 30 20 |TA 69,75|,83,120 |
|000019f0| 20 20 20 20 20 20 20 20 | 3a 27 4f 20 64 61 74 61 | |:'O data|
|00001a00| 00 00 07 36 00 12 00 26 | c8 31 35 32 30 20 44 41 |...6...&|.1520 DA|
|00001a10| 54 41 20 31 30 31 2c 37 | 35 2c 31 31 35 2c 31 32 |TA 101,7|5,115,12|
|00001a20| 30 20 20 20 20 20 3a 27 | 50 20 64 61 74 61 00 00 |0 :'|P data..|
|00001a30| 07 41 00 12 00 26 c8 31 | 35 33 30 20 44 41 54 41 |.A...&.1|530 DATA|
|00001a40| 20 31 33 33 2c 37 35 2c | 31 34 37 2c 31 32 30 20 | 133,75,|147,120 |
|00001a50| 20 20 20 20 3a 27 51 20 | 64 61 74 61 00 00 07 4c | :'Q |data...L|
|00001a60| 00 12 00 26 c8 31 35 34 | 30 20 44 41 54 41 20 31 |...&.154|0 DATA 1|
|00001a70| 36 35 2c 37 35 2c 31 37 | 39 2c 31 32 30 20 20 20 |65,75,17|9,120 |
|00001a80| 20 20 3a 27 52 20 64 61 | 74 61 00 00 07 57 00 12 | :'R da|ta...W..|
|00001a90| 00 26 c8 31 35 35 30 20 | 44 41 54 41 20 31 39 37 |.&.1550 |DATA 197|
|00001aa0| 2c 37 35 2c 32 30 38 2c | 31 32 30 20 20 20 20 20 |,75,208,|120 |
|00001ab0| 3a 27 53 20 64 61 74 61 | 00 00 07 62 00 12 00 26 |:'S data|...b...&|
|00001ac0| c8 31 35 36 30 20 44 41 | 54 41 20 32 32 37 2c 37 |.1560 DA|TA 227,7|
|00001ad0| 35 2c 32 34 30 2c 31 32 | 30 20 20 20 20 20 3a 27 |5,240,12|0 :'|
|00001ae0| 54 20 64 61 74 61 00 00 | 07 6d 00 12 00 26 c8 31 |T data..|.m...&.1|
|00001af0| 35 37 30 20 44 41 54 41 | 20 32 35 39 2c 37 35 2c |570 DATA| 259,75,|
|00001b00| 32 37 35 2c 31 32 30 20 | 20 20 20 20 3a 27 55 20 |275,120 | :'U |
|00001b10| 64 61 74 61 00 00 07 78 | 00 12 00 26 c8 31 35 38 |data...x|...&.158|
|00001b20| 30 20 44 41 54 41 20 32 | 39 34 2c 37 35 2c 33 31 |0 DATA 2|94,75,31|
|00001b30| 30 2c 31 32 30 20 20 20 | 20 20 3a 27 56 20 64 61 |0,120 | :'V da|
|00001b40| 74 61 00 00 07 83 00 12 | 00 26 c8 31 35 39 30 20 |ta......|.&.1590 |
|00001b50| 44 41 54 41 20 33 32 39 | 2c 37 35 2c 33 35 32 2c |DATA 329|,75,352,|
|00001b60| 31 32 30 20 20 20 20 20 | 3a 27 57 20 64 61 74 61 |120 |:'W data|
|00001b70| 00 00 07 8e 00 12 00 26 | c8 31 36 30 30 20 44 41 |.......&|.1600 DA|
|00001b80| 54 41 20 33 37 31 2c 37 | 35 2c 33 38 35 2c 31 32 |TA 371,7|5,385,12|
|00001b90| 30 20 20 20 20 20 3a 27 | 58 20 64 61 74 61 00 00 |0 :'|X data..|
|00001ba0| 07 99 00 12 00 26 c8 31 | 36 31 30 20 44 41 54 41 |.....&.1|610 DATA|
|00001bb0| 20 34 30 32 2c 37 35 2c | 34 31 37 2c 31 32 30 20 | 402,75,|417,120 |
|00001bc0| 20 20 20 20 3a 27 59 20 | 64 61 74 61 00 00 07 a4 | :'Y |data....|
|00001bd0| 00 12 00 26 c8 31 36 32 | 30 20 44 41 54 41 20 34 |...&.162|0 DATA 4|
|00001be0| 33 34 2c 37 35 2c 34 34 | 35 2c 31 32 30 20 20 20 |34,75,44|5,120 |
|00001bf0| 20 20 3a 27 5a 20 64 61 | 74 61 00 00 07 b2 00 24 | :'Z da|ta.....$|
|00001c00| 00 02 f5 00 44 52 00 00 | 00 00 00 0a 42 65 6e 63 |....DR..|....Benc|
|00001c10| 68 6d 61 72 6b 73 00 ff | 00 2b 00 00 00 0c 00 09 |hmarks..|.+......|
|00001c20| 00 0d c4 fb 00 32 4e 75 | 6d 62 65 72 3a 97 31 00 |.....2Nu|mber:.1.|
|00001c30| 00 00 00 18 00 09 00 10 | c4 49 73 73 75 65 20 4e |........|.Issue N|
|00001c40| 75 6d 62 65 72 3a a2 31 | 00 00 00 24 00 09 00 26 |umber:.1|...$...&|
|00001c50| c4 43 6f 6c 75 6d 6e 20 | 54 61 67 3a b0 42 65 6e |.Column |Tag:.Ben|
|00001c60| 63 68 6d 61 72 6b 73 2c | 20 43 6f 6d 70 61 74 61 |chmarks,| Compata|
|00001c70| 62 69 6c 69 74 79 00 00 | 00 40 00 09 00 1a c5 42 |bility..|.@.....B|
|00001c80| 65 6e 63 68 6d 61 72 6b | 73 2c 20 43 6f 6d 70 61 |enchmark|s, Compa|
|00001c90| 74 61 62 69 6c 69 74 79 | 00 00 00 5d 00 b9 00 0b |tability|...]....|
|00001ca0| c4 42 65 6e 63 68 6d 61 | 72 6b 73 00 00 00 00 6e |.Benchma|rks....n|
|00001cb0| 00 24 00 4e c3 4a 6f 65 | 72 67 20 4c 61 6e 67 6f |.$.N.Joe|rg Lango|
|00001cc0| 77 73 6b 69 20 68 61 73 | 20 63 6f 6d 70 69 6c 65 |wski has| compile|
|00001cd0| 64 20 73 6f 6d 65 20 69 | 6e 74 65 72 65 73 74 69 |d some i|nteresti|
|00001ce0| 6e 67 20 62 65 6e 63 68 | 6d 61 72 6b 73 20 6f 6e |ng bench|marks on|
|00001cf0| 20 74 68 65 20 4d 61 63 | 20 75 73 69 6e 67 20 74 | the Mac| using t|
|00001d00| 68 65 00 00 00 7a 00 09 | 00 51 c3 76 61 72 69 6f |he...z..|.Q.vario|
|00001d10| 75 73 20 70 72 6f 67 72 | 61 6d 2d 20 20 6d 69 6e |us progr|am- min|
|00001d20| 67 20 6c 61 6e 67 75 61 | 67 65 73 20 64 69 73 63 |g langua|ges disc|
|00001d30| 75 73 73 65 64 20 69 6e | 20 74 68 69 73 20 69 73 |ussed in| this is|
|00001d40| 73 75 65 20 6f 66 20 4d | 61 63 54 65 63 68 2e 20 |sue of M|acTech. |
|00001d50| 54 68 65 20 72 65 73 75 | 6c 74 73 00 00 00 00 86 |The resu|lts.....|
|00001d60| 00 09 00 55 c3 73 68 6f | 77 20 74 68 61 74 20 74 |...U.sho|w that t|
|00001d70| 68 65 20 4d 61 63 20 69 | 73 20 69 6e 64 65 65 64 |he Mac i|s indeed|
|00001d80| 20 61 20 70 6f 77 65 72 | 66 75 6c 20 63 6f 6d 70 | a power|ful comp|
|00001d90| 75 74 69 6e 67 20 74 6f | 6f 6c 20 77 68 65 6e 20 |uting to|ol when |
|00001da0| 63 6f 6d 62 69 6e 65 64 | 20 77 69 74 68 20 73 6f |combined| with so|
|00001db0| 6d 65 20 64 65 63 65 6e | 74 00 00 00 00 92 00 09 |me decen|t.......|
|00001dc0| 00 52 c3 73 6f 66 74 77 | 61 72 65 20 64 65 76 65 |.R.softw|are deve|
|00001dd0| 6c 6f 70 6d 65 6e 74 20 | 74 6f 6f 6c 73 20 74 68 |lopment |tools th|
|00001de0| 61 74 20 61 72 65 20 6e | 6f 77 20 73 74 61 72 74 |at are n|ow start|
|00001df0| 69 6e 67 20 74 6f 20 68 | 69 74 20 74 68 65 20 6d |ing to h|it the m|
|00001e00| 61 72 6b 65 74 2e 20 54 | 68 65 20 66 6f 6c 6c 6f |arket. T|he follo|
|00001e10| 77 69 6e 67 00 00 00 9e | 00 09 00 52 c3 74 69 6d |wing....|...R.tim|
|00001e20| 65 73 20 61 72 65 20 62 | 61 73 65 64 20 6f 6e 20 |es are b|ased on |
|00001e30| 74 68 65 20 53 69 65 76 | 65 20 6f 66 20 45 72 61 |the Siev|e of Era|
|00001e40| 74 6f 73 74 68 65 6e 65 | 73 20 70 72 69 6d 65 20 |tosthene|s prime |
|00001e50| 6e 75 6d 62 65 72 20 67 | 65 6e 65 72 61 74 6f 72 |number g|enerator|
|00001e60| 20 20 70 75 62 6c 69 73 | 68 65 64 20 69 6e 00 00 | publis|hed in..|
|00001e70| 00 aa 00 09 00 52 c3 42 | 79 74 65 20 6d 61 67 61 |.....R.B|yte maga|
|00001e80| 7a 69 6e 65 20 61 73 20 | 61 20 73 74 61 6e 64 61 |zine as |a standa|
|00001e90| 72 64 20 62 65 6e 63 68 | 6d 61 72 6b 2c 20 61 6e |rd bench|mark, an|
|00001ea0| 64 20 72 65 70 6f 72 74 | 65 64 20 69 6e 20 74 68 |d report|ed in th|
|00001eb0| 65 20 4e 6f 76 65 6d 62 | 65 72 20 69 73 73 75 65 |e Novemb|er issue|
|00001ec0| 20 6f 66 20 4d 61 63 2d | 00 00 00 b6 00 09 00 07 | of Mac-|........|
|00001ed0| c3 57 6f 72 6c 64 2e 00 | 00 00 00 ce 00 24 00 0b |.World..|.....$..|
|00001ee0| c3 56 41 58 20 31 31 2f | 37 38 30 00 00 00 00 da |.VAX 11/|780.....|
|00001ef0| 00 24 00 08 c3 46 4f 52 | 54 52 41 4e 00 00 00 e6 |.$...FOR|TRAN....|
|00001f00| 00 24 00 0a c3 33 20 73 | 65 63 6f 6e 64 73 00 00 |.$...3 s|econds..|
|00001f10| 00 fe 00 24 00 0a c3 4d | 61 63 69 6e 74 6f 73 68 |...$...M|acintosh|
|00001f20| 00 00 01 0a 00 24 00 10 | c3 43 6f 6e 73 75 6c 61 |.....$..|.Consula|
|00001f30| 69 72 20 ff d2 43 ff d3 | 00 00 01 16 00 24 00 0b |ir ..C..|.....$..|
|00001f40| c3 31 30 20 73 65 63 6f | 6e 64 73 00 00 00 01 2e |.10 seco|nds.....|
|00001f50| 00 24 00 0a c3 4d 61 63 | 69 6e 74 6f 73 68 00 00 |.$...Mac|intosh..|
|00001f60| 01 3a 00 24 00 09 c3 4d | 61 63 46 6f 72 74 68 00 |.:.$...M|acForth.|
|00001f70| 00 00 01 46 00 24 00 0b | c3 32 31 20 73 65 63 6f |...F.$..|.21 seco|
|00001f80| 6e 64 73 00 00 00 01 5e | 00 24 00 0a c3 4d 61 63 |nds....^|.$...Mac|
|00001f90| 69 6e 74 6f 73 68 00 00 | 01 6a 00 24 00 09 c3 4d |intosh..|.j.$...M|
|00001fa0| 6f 64 75 6c 61 20 32 00 | 00 00 01 76 00 24 00 0b |odula 2.|...v.$..|
|00001fb0| c3 39 30 20 73 65 63 6f | 6e 64 73 00 00 00 01 8e |.90 seco|nds.....|
|00001fc0| 00 24 00 0a c3 4d 61 63 | 69 6e 74 6f 73 68 00 00 |.$...Mac|intosh..|
|00001fd0| 01 9a 00 24 00 0d c3 4d | 53 20 42 41 53 49 43 20 |...$...M|S BASIC |
|00001fe0| 31 2e 30 00 00 00 01 a6 | 00 24 00 0e c3 31 2c 30 |1.0.....|.$...1,0|
|00001ff0| 31 30 20 73 65 63 6f 6e | 64 73 00 00 01 be 00 24 |10 secon|ds.....$|
|00002000| 00 4c c3 49 74 20 69 73 | 20 6f 62 76 69 6f 75 73 |.L.It is| obvious|
|00002010| 20 74 68 61 74 20 43 20 | 61 6c 6c 6f 77 73 20 74 | that C |allows t|
|00002020| 68 65 20 6d 61 78 69 6d | 75 6d 20 70 65 72 66 6f |he maxim|um perfo|
|00002030| 72 6d 61 6e 63 65 20 66 | 72 6f 6d 20 74 68 65 20 |rmance f|rom the |
|00002040| 4d 61 63 2c 20 79 65 74 | 20 73 74 69 6c 6c 00 00 |Mac, yet| still..|
|00002050| 01 ca 00 09 00 5a c3 70 | 72 6f 76 69 64 65 73 20 |.....Z.p|rovides |
|00002060| 61 20 68 69 67 68 20 6c | 65 76 65 6c 20 69 6e 74 |a high l|evel int|
|00002070| 65 72 66 61 63 65 20 74 | 6f 20 74 68 65 20 4d 61 |erface t|o the Ma|
|00002080| 63 20 74 6f 6f 6c 62 6f | 78 2e 20 49 74 20 69 73 |c toolbo|x. It is|
|00002090| 20 61 6c 73 6f 20 63 6c | 65 61 72 20 74 68 61 74 | also cl|ear that|
|000020a0| 20 4d 53 2f 42 61 73 69 | 63 20 69 73 20 6e 6f 74 | MS/Basi|c is not|
|000020b0| 00 00 01 d6 00 09 00 57 | c3 61 20 74 72 75 65 20 |.......W|.a true |
|000020c0| 69 6e 64 69 63 61 74 6f | 72 20 6f 66 20 4d 61 63 |indicato|r of Mac|
|000020d0| ff d5 73 20 61 62 69 6c | 69 74 69 65 73 2e 20 57 |..s abil|ities. W|
|000020e0| 65 20 69 6e 76 69 74 65 | 20 6f 74 68 65 72 20 74 |e invite| other t|
|000020f0| 69 6d 69 6e 67 20 72 65 | 73 75 6c 74 73 20 66 72 |iming re|sults fr|
|00002100| 6f 6d 20 6f 75 72 20 72 | 65 61 64 65 72 73 2e 00 |om our r|eaders..|
|00002110| 00 00 01 ec 00 91 00 1c | c4 48 6f 74 20 41 69 72 |........|.Hot Air|
|00002120| 3a 20 20 ff d2 43 6f 6d | 70 61 74 61 62 69 6c 69 |: ..Com|patabili|
|00002130| 74 79 ff d3 00 00 01 fd | 00 24 00 4e c3 49 6e 74 |ty......|.$.N.Int|
|00002140| 65 67 72 61 74 65 64 20 | 73 6f 66 74 77 61 72 65 |egrated |software|
|00002150| 20 63 61 6d 65 20 61 62 | 6f 75 74 20 61 73 20 61 | came ab|out as a|
|00002160| 20 6d 65 61 6e 73 20 6f | 66 20 67 65 74 74 69 6e | means o|f gettin|
|00002170| 67 20 69 6e 63 6f 6d 70 | 61 74 61 62 6c 65 20 73 |g incomp|atable s|
|00002180| 6f 66 74 77 61 72 65 20 | 74 6f 00 00 02 09 00 09 |oftware |to......|
|00002190| 00 50 c3 73 70 65 61 6b | 20 74 6f 20 65 61 63 68 |.P.speak| to each|
|000021a0| 20 6f 74 68 65 72 2e 20 | fb 00 03 69 6e 74 72 6f | other. |...intro|
|000021b0| 64 75 63 65 64 20 74 68 | 65 20 69 64 65 61 20 6f |duced th|e idea o|
|000021c0| 66 20 73 74 61 6e 64 61 | 72 64 20 64 61 74 61 20 |f standa|rd data |
|000021d0| 66 6f 72 6d 61 74 73 20 | 61 6e 64 20 61 20 74 6f |formats |and a to|
|000021e0| 6f 6c 00 00 02 15 00 09 | 00 4e c3 28 63 6c 69 70 |ol......|.N.(clip|
|000021f0| 62 6f 61 72 64 29 20 66 | 6f 72 20 6d 6f 76 69 6e |board) f|or movin|
|00002200| 67 20 64 61 74 61 20 66 | 72 6f 6d 20 6f 6e 65 20 |g data f|rom one |
|00002210| 70 72 6f 67 72 61 6d 20 | 74 6f 20 61 6e 6f 74 68 |program |to anoth|
|00002220| 65 72 2e 20 48 6f 77 20 | 77 65 6c 6c 20 68 61 73 |er. How |well has|
|00002230| 20 fb 00 03 69 6d 70 2d | 00 00 02 21 00 09 00 17 | ...imp-|...!....|
|00002240| c3 6c 65 6d 65 6e 74 65 | 64 20 74 68 69 73 20 63 |.lemente|d this c|
|00002250| 6f 6e 63 65 70 74 3f 00 | 00 00 03 07 00 8e 00 06 |oncept?.|........|
|00002260| c3 f0 00 81 00 98 00 00 | 03 1d 00 24 00 4d c3 55 |........|...$.M.U|
|00002270| 6e 66 6f 72 6d 61 74 74 | 65 64 20 74 65 78 74 20 |nformatt|ed text |
|00002280| fd 00 1a 63 61 6e 20 62 | 65 20 63 6c 69 70 70 65 |...can b|e clippe|
|00002290| 64 20 74 6f 20 61 6c 6d | 6f 73 74 20 61 6e 79 20 |d to alm|ost any |
|000022a0| 70 72 6f 67 72 61 6d 2e | 20 42 75 74 20 66 6f 72 |program.| But for|
|000022b0| 6d 61 74 74 65 64 20 74 | 65 78 74 00 00 00 03 29 |matted t|ext....)|
|000022c0| 00 09 00 53 c3 66 72 6f | 6d 20 4d 61 63 57 72 69 |...S.fro|m MacWri|
|000022d0| 74 65 20 63 61 6e 6e 6f | 74 20 62 65 20 6d 6f 76 |te canno|t be mov|
|000022e0| 65 64 20 74 6f 20 50 61 | 69 6e 74 20 6f 72 20 44 |ed to Pa|int or D|
|000022f0| 72 61 77 20 77 69 74 68 | 6f 75 74 20 6c 6f 73 69 |raw with|out losi|
|00002300| 6e 67 20 74 68 65 69 72 | 20 66 6f 6e 74 73 20 61 |ng their| fonts a|
|00002310| 6e 64 20 77 6f 72 64 00 | 00 00 03 35 00 09 00 50 |nd word.|...5...P|
|00002320| c3 77 72 61 70 70 69 6e | 67 2e 20 50 61 69 6e 74 |.wrappin|g. Paint|
|00002330| 20 fd 00 1a 63 61 6e 6e | 6f 74 20 62 65 20 6d 6f | ...cann|ot be mo|
|00002340| 76 65 64 20 69 6e 74 6f | 20 44 72 61 77 20 61 74 |ved into| Draw at|
|00002350| 20 61 6c 6c 2e 20 50 61 | 69 6e 74 20 fd 00 1a 63 | all. Pa|int ...c|
|00002360| 61 6e 20 62 65 20 63 6c | 69 70 70 65 64 20 74 6f |an be cl|ipped to|
|00002370| 00 00 03 41 00 09 00 51 | c3 4d 61 63 57 72 69 74 |...A...Q|.MacWrit|
|00002380| 65 2c 20 62 75 74 20 77 | 69 74 68 20 72 65 73 74 |e, but w|ith rest|
|00002390| 72 69 63 74 69 6f 6e 73 | 20 6f 6e 20 74 65 78 74 |rictions| on text|
|000023a0| 20 70 6c 61 63 65 6d 65 | 6e 74 20 69 6e 20 61 6e | placeme|nt in an|
|000023b0| 64 20 61 72 6f 75 6e 64 | 20 74 68 65 20 50 61 69 |d around| the Pai|
|000023c0| 6e 74 20 69 6d 61 67 65 | 2e 00 00 00 03 4d 00 09 |nt image|.....M..|
|000023d0| 00 50 c3 57 68 69 6c 65 | 20 fb 00 03 68 61 73 20 |.P.While| ...has |
|000023e0| 73 75 67 67 65 73 74 65 | 64 20 61 20 70 6f 77 65 |suggeste|d a powe|
|000023f0| 72 66 75 6c 20 63 6f 6e | 63 65 70 74 20 69 6e 20 |rful con|cept in |
|00002400| 63 6f 6d 70 61 74 61 62 | 6c 65 20 64 61 74 61 20 |compatab|le data |
|00002410| 66 6f 72 6d 61 74 73 2c | 20 74 68 65 79 20 68 61 |formats,| they ha|
|00002420| 76 65 00 00 03 59 00 09 | 00 54 c3 79 65 74 20 74 |ve...Y..|.T.yet t|
|00002430| 6f 20 66 6f 6c 6c 6f 77 | 20 74 68 72 6f 75 67 68 |o follow| through|
|00002440| 20 77 69 74 68 20 74 68 | 65 69 72 20 6f 77 6e 20 | with th|eir own |
|00002450| 70 72 6f 64 75 63 74 20 | 6c 69 6e 65 2e 20 54 68 |product |line. Th|
|00002460| 65 20 66 61 63 74 20 74 | 68 61 74 20 74 68 65 73 |e fact t|hat thes|
|00002470| 65 20 70 72 6f 67 72 61 | 6d 73 20 61 72 65 00 00 |e progra|ms are..|
|00002480| 03 65 00 09 00 33 c3 63 | 6f 6e 74 72 61 63 74 65 |.e...3.c|ontracte|
|00002490| 64 20 6f 75 74 20 6d 61 | 79 20 68 61 76 65 20 73 |d out ma|y have s|
|000024a0| 6f 6d 65 74 68 69 6e 67 | 20 74 6f 20 64 6f 20 77 |omething| to do w|
|000024b0| 69 74 68 20 74 68 69 73 | 2e 00 44 52 00 00 00 00 |ith this|..DR....|
|000024c0| 00 0b 46 69 72 73 74 20 | 43 6f 76 65 72 00 00 05 |..First |Cover...|
|000024d0| 00 00 00 0c 00 09 00 0d | c4 fb 00 32 4e 75 6d 62 |........|...2Numb|
|000024e0| 65 72 3a 97 31 00 00 00 | 00 18 00 09 00 10 c4 49 |er:.1...|.......I|
|000024f0| 73 73 75 65 20 4e 75 6d | 62 65 72 3a a2 31 00 00 |ssue Num|ber:.1..|
|00002500| 00 24 00 09 00 18 c4 43 | 6f 6c 75 6d 6e 20 54 61 |.$.....C|olumn Ta|
|00002510| 67 3a b0 46 69 72 73 74 | 20 43 6f 76 65 72 00 00 |g:.First| Cover..|
|00002520| 00 40 00 09 00 0c c5 46 | 69 72 73 74 20 43 6f 76 |.@.....F|irst Cov|
|00002530| 65 72 00 00 02 7c 00 05 | 00 06 c3 f0 00 82 01 aa |er...|..|........|
|00002540| 44 52 00 00 00 00 00 0a | 46 6f 72 74 68 20 53 41 |DR......|Forth SA|
|00002550| 4e 45 00 ff 00 5e 00 00 | 00 0c 00 09 00 0d c4 fb |NE...^..|........|
|00002560| 00 32 4e 75 6d 62 65 72 | 3a 97 31 00 00 00 00 18 |.2Number|:.1.....|
|00002570| 00 09 00 10 c4 49 73 73 | 75 65 20 4e 75 6d 62 65 |.....Iss|ue Numbe|
|00002580| 72 3a a2 31 00 00 00 24 | 00 09 00 18 c4 43 6f 6c |r:.1...$|.....Col|
|00002590| 75 6d 6e 20 54 61 67 3a | b0 46 4f 52 54 48 20 46 |umn Tag:|.FORTH F|
|000025a0| 4f 52 55 4d 00 00 00 46 | 00 09 00 14 c5 ff d2 46 |ORUM...F|.......F|
|000025b0| 6f 72 74 68 20 47 6f 65 | 73 20 53 41 4e 45 ff d3 |orth Goe|s SANE..|
|000025c0| 00 00 00 59 00 09 00 13 | c7 42 79 20 4a 6f 65 72 |...Y....|.By Joer|
|000025d0| 67 20 4c 61 6e 67 6f 77 | 73 6b 69 00 00 00 00 7b |g Langow|ski....{|
|000025e0| 00 a5 00 14 c4 ff d2 46 | 6f 72 74 68 20 47 6f 65 |.......F|orth Goe|
|000025f0| 73 20 53 41 4e 45 ff d3 | 00 00 00 8c 00 24 00 52 |s SANE..|.....$.R|
|00002600| c3 4f 6e 65 20 6f 66 20 | 74 68 65 20 6c 69 74 74 |.One of |the litt|
|00002610| 6c 65 20 75 6e 65 78 70 | 65 63 74 65 64 20 66 65 |le unexp|ected fe|
|00002620| 61 74 75 72 65 73 20 6f | 66 20 74 68 65 20 4d 61 |atures o|f the Ma|
|00002630| 63 69 6e 74 6f 73 68 20 | 74 68 61 74 20 77 61 73 |cintosh |that was|
|00002640| 20 76 65 72 79 20 69 6d | 70 6f 72 74 61 6e 74 20 | very im|portant |
|00002650| 74 6f 00 00 00 98 00 09 | 00 56 c3 6d 65 20 66 6f |to......|.V.me fo|
|00002660| 72 20 64 6f 69 6e 67 20 | 73 6f 6d 65 20 61 63 74 |r doing |some act|
|00002670| 75 61 6c 20 63 61 6c 63 | 75 6c 61 74 69 6f 6e 73 |ual calc|ulations|
|00002680| 20 69 73 20 74 68 65 20 | 62 75 69 6c 74 2d 69 6e | is the |built-in|
|00002690| 20 66 6c 6f 61 74 69 6e | 67 20 70 6f 69 6e 74 20 | floatin|g point |
|000026a0| 70 61 63 6b 61 67 65 2e | 20 fb 00 2f 69 73 20 61 |package.| ../is a|
|000026b0| 00 00 00 a4 00 09 00 52 | c3 66 75 6c 6c 20 73 65 |.......R|.full se|
|000026c0| 74 20 6f 66 20 66 6c 6f | 61 74 69 6e 67 20 70 6f |t of flo|ating po|
|000026d0| 69 6e 74 20 72 6f 75 74 | 69 6e 65 73 2c 20 72 61 |int rout|ines, ra|
|000026e0| 6e 67 69 6e 67 20 66 72 | 6f 6d 20 74 68 65 20 66 |nging fr|om the f|
|000026f0| 6f 75 72 20 62 61 73 69 | 63 20 6f 70 65 72 61 74 |our basi|c operat|
|00002700| 69 6f 6e 73 20 75 70 20 | 74 6f 00 00 00 b0 00 09 |ions up |to......|
|00002710| 00 57 c3 74 72 69 67 6f | 6e 6f 6d 65 74 72 69 63 |.W.trigo|nometric|
|00002720| 20 61 6e 64 20 6f 74 68 | 65 72 20 66 75 6e 63 74 | and oth|er funct|
|00002730| 69 6f 6e 73 2c 20 62 75 | 69 6c 74 20 72 69 67 68 |ions, bu|ilt righ|
|00002740| 74 20 69 6e 74 6f 20 74 | 68 65 20 4d 61 63 2c 20 |t into t|he Mac, |
|00002750| 61 6e 64 20 74 68 65 79 | 20 63 61 6e 20 62 65 20 |and they| can be |
|00002760| 63 61 6c 6c 65 64 20 75 | 70 00 00 00 00 bc 00 09 |called u|p.......|
|00002770| 00 53 c3 74 68 72 6f 75 | 67 68 20 61 20 73 74 61 |.S.throu|gh a sta|
|00002780| 6e 64 61 72 64 20 74 6f | 6f 6c 62 6f 78 20 63 61 |ndard to|olbox ca|
|00002790| 6c 6c 69 6e 67 20 70 72 | 6f 63 65 64 75 72 65 20 |lling pr|ocedure |
|000027a0| 61 6e 64 20 74 75 72 6e | 20 6f 75 74 20 74 6f 20 |and turn| out to |
|000027b0| 62 65 20 72 65 61 73 6f | 6e 61 62 6c 79 20 28 69 |be reaso|nably (i|
|000027c0| 66 20 6e 6f 74 00 00 00 | 00 c8 00 09 00 59 c3 72 |f not...|.....Y.r|
|000027d0| 65 61 6c 6c 79 20 62 72 | 65 61 74 68 74 61 6b 69 |eally br|eathtaki|
|000027e0| 6e 67 6c 79 29 20 66 61 | 73 74 2e 20 49 66 20 79 |ngly) fa|st. If y|
|000027f0| 6f 75 20 77 61 6e 74 20 | 74 6f 20 74 72 79 20 6f |ou want |to try o|
|00002800| 75 74 20 74 68 65 20 66 | 6c 6f 61 74 69 6e 67 20 |ut the f|loating |
|00002810| 70 6f 69 6e 74 20 72 6f | 75 74 69 6e 65 73 20 61 |point ro|utines a|
|00002820| 6e 64 20 68 61 76 65 00 | 00 00 00 d4 00 09 00 47 |nd have.|.......G|
|00002830| c3 61 63 63 65 73 73 20 | 74 6f 20 4d 61 63 46 6f |.access |to MacFo|
|00002840| 72 74 68 20 31 2e 31 2c | 20 74 68 65 20 66 6f 6c |rth 1.1,| the fol|
|00002850| 6c 6f 77 69 6e 67 20 73 | 68 6f 75 6c 64 20 67 69 |lowing s|hould gi|
|00002860| 76 65 20 79 6f 75 20 73 | 6f 6d 65 20 75 73 65 66 |ve you s|ome usef|
|00002870| 75 6c 20 fe 00 1f 2e 00 | 00 00 00 e0 00 09 00 55 |ul .....|.......U|
|00002880| c3 4d 61 63 46 6f 72 74 | 68 20 6c 65 76 65 6c 20 |.MacFort|h level |
|00002890| 32 20 73 75 70 70 6f 73 | 65 64 6c 79 20 6d 61 6b |2 suppos|edly mak|
|000028a0| 65 73 20 75 73 65 20 6f | 66 20 74 68 65 20 73 61 |es use o|f the sa|
|000028b0| 6d 65 20 72 6f 75 74 69 | 6e 65 73 2c 20 62 75 74 |me routi|nes, but|
|000028c0| 20 69 74 20 77 61 73 20 | 6e 6f 74 20 61 76 61 69 | it was |not avai|
|000028d0| 6c 61 62 6c 65 00 00 00 | 00 ec 00 09 00 23 c3 61 |lable...|.....#.a|
|000028e0| 74 20 74 68 65 20 74 69 | 6d 65 20 74 68 61 74 20 |t the ti|me that |
|000028f0| 74 68 69 73 20 77 61 73 | 20 77 72 69 74 74 65 6e |this was| written|
|00002900| 2e 00 00 00 00 f8 00 24 | 00 4f c3 4c 65 74 ff d5 |.......$|.O.Let..|
|00002910| 73 20 66 69 72 73 74 20 | 6c 6f 6f 6b 20 61 74 20 |s first |look at |
|00002920| 73 6f 6d 65 20 67 65 6e | 65 72 61 6c 20 66 65 61 |some gen|eral fea|
|00002930| 74 75 72 65 73 2e 20 54 | 68 65 20 66 6c 6f 61 74 |tures. T|he float|
|00002940| 69 6e 67 20 70 6f 69 6e | 74 20 70 61 63 6b 61 67 |ing poin|t packag|
|00002950| 65 2c 20 63 61 6c 6c 65 | 64 00 00 00 01 04 00 09 |e, calle|d.......|
|00002960| 00 54 c3 46 50 36 38 4b | 20 62 79 20 fc 00 03 2c |.T.FP68K| by ...,|
|00002970| 20 69 73 20 62 61 73 65 | 64 20 6f 6e 20 61 20 70 | is base|d on a p|
|00002980| 72 6f 70 6f 73 65 64 20 | 49 45 45 45 20 66 6c 6f |roposed |IEEE flo|
|00002990| 61 74 69 6e 67 20 70 6f | 69 6e 74 20 73 74 61 6e |ating po|int stan|
|000029a0| 64 61 72 64 20 50 37 35 | 34 2e 20 49 74 20 63 61 |dard P75|4. It ca|
|000029b0| 6e 20 77 6f 72 6b 00 00 | 01 10 00 09 00 52 c3 6f |n work..|.....R.o|
|000029c0| 6e 20 33 32 2c 20 36 34 | 20 61 6e 64 20 38 30 2d |n 32, 64| and 80-|
|000029d0| 62 69 74 20 66 6c 6f 61 | 74 69 6e 67 20 70 6f 69 |bit floa|ting poi|
|000029e0| 6e 74 20 6e 75 6d 62 65 | 72 73 20 61 6e 64 20 31 |nt numbe|rs and 1|
|000029f0| 36 2c 20 33 32 2c 20 61 | 6e 64 20 36 34 2d 62 69 |6, 32, a|nd 64-bi|
|00002a00| 74 20 69 6e 74 65 67 65 | 72 73 2e 20 53 6f 6d 65 |t intege|rs. Some|
|00002a10| 00 00 01 1c 00 09 00 50 | c3 6f 66 20 74 68 65 20 |.......P|.of the |
|00002a20| 6f 70 65 72 61 74 69 6f | 6e 73 20 74 68 61 74 20 |operatio|ns that |
|00002a30| 69 74 20 73 75 70 70 6f | 72 74 73 20 61 72 65 20 |it suppo|rts are |
|00002a40| 73 75 6d 6d 61 72 69 7a | 65 64 20 69 6e 20 54 61 |summariz|ed in Ta|
|00002a50| 62 6c 65 20 31 2e 20 28 | 42 65 63 61 75 73 65 20 |ble 1. (|Because |
|00002a60| 6f 66 20 73 70 61 63 65 | 00 00 01 28 00 09 00 58 |of space|...(...X|
|00002a70| c3 6c 69 6d 69 74 61 74 | 69 6f 6e 73 2c 20 74 68 |.limitat|ions, th|
|00002a80| 69 73 20 74 61 62 6c 65 | 20 69 73 20 62 79 20 6e |is table| is by n|
|00002a90| 6f 20 6d 65 61 6e 73 20 | 63 6f 6d 70 6c 65 74 65 |o means |complete|
|00002aa0| 2c 20 62 75 74 20 49 20 | 74 72 69 65 64 20 74 6f |, but I |tried to|
|00002ab0| 20 6c 69 73 74 20 74 68 | 65 20 6d 6f 73 74 20 69 | list th|e most i|
|00002ac0| 6d 70 6f 72 74 61 6e 74 | 00 00 01 34 00 09 00 53 |mportant|...4...S|
|00002ad0| c3 6f 70 65 72 61 74 69 | 6f 6e 73 2e 29 20 41 6c |.operati|ons.) Al|
|00002ae0| 6c 20 63 61 6c 63 75 6c | 61 74 69 6f 6e 73 20 61 |l calcul|ations a|
|00002af0| 72 65 20 69 6e 74 65 72 | 6e 61 6c 6c 79 20 64 6f |re inter|nally do|
|00002b00| 6e 65 20 77 69 74 68 20 | 38 30 2d 62 69 74 20 61 |ne with |80-bit a|
|00002b10| 63 63 75 72 61 63 79 3b | 20 74 68 69 73 20 73 65 |ccuracy;| this se|
|00002b20| 65 6d 73 00 00 00 01 40 | 00 09 00 54 c3 73 70 65 |ems....@|...T.spe|
|00002b30| 63 74 61 63 75 6c 61 72 | 2c 20 62 75 74 20 61 20 |ctacular|, but a |
|00002b40| 6c 69 74 74 6c 65 20 6f | 76 65 72 64 6f 6e 65 2e |little o|verdone.|
|00002b50| 20 53 70 65 65 64 20 63 | 6f 75 6c 64 20 70 72 6f | Speed c|ould pro|
|00002b60| 62 61 62 6c 79 20 62 65 | 20 69 6d 70 72 6f 76 65 |bably be| improve|
|00002b70| 64 20 61 20 6c 6f 74 2c | 20 68 61 64 20 fc 00 03 |d a lot,| had ...|
|00002b80| 00 00 01 4c 00 09 00 2a | c3 61 6c 6c 6f 77 65 64 |...L...*|.allowed|
|00002b90| 20 66 6f 72 20 77 6f 72 | 6b 69 6e 67 20 77 69 74 | for wor|king wit|
|00002ba0| 68 20 6c 6f 77 65 72 20 | 70 72 65 63 69 73 69 6f |h lower |precisio|
|00002bb0| 6e 2e 00 00 01 d1 00 5d | 00 06 c3 f0 00 83 00 f9 |n......]|........|
|00002bc0| 00 00 01 e7 00 24 00 51 | c3 46 6c 6f 61 74 69 6e |.....$.Q|.Floatin|
|00002bd0| 67 20 70 6f 69 6e 74 20 | 6f 70 65 72 61 74 69 6f |g point |operatio|
|00002be0| 6e 73 20 61 72 65 20 61 | 6c 77 61 79 73 20 63 61 |ns are a|lways ca|
|00002bf0| 6c 6c 65 64 20 69 6e 20 | 74 68 65 20 73 61 6d 65 |lled in |the same|
|00002c00| 20 6d 61 6e 6e 65 72 3a | 20 74 68 65 20 61 64 64 | manner:| the add|
|00002c10| 72 65 73 73 65 73 20 6f | 66 00 00 00 01 f3 00 09 |resses o|f.......|
|00002c20| 00 4c c3 74 68 65 20 74 | 77 6f 20 61 72 67 75 6d |.L.the t|wo argum|
|00002c30| 65 6e 74 73 2c 20 73 6f | 75 72 63 65 20 61 6e 64 |ents, so|urce and|
|00002c40| 20 fe 00 11 2c 20 61 72 | 65 20 70 75 73 68 65 64 | ..., ar|e pushed|
|00002c50| 20 6f 6e 20 74 68 65 20 | 73 74 61 63 6b 2c 20 66 | on the |stack, f|
|00002c60| 6f 6c 6c 6f 77 65 64 20 | 62 79 20 74 68 65 00 00 |ollowed |by the..|
|00002c70| 01 ff 00 09 00 52 c3 6f | 70 63 6f 64 65 3b 20 74 |.....R.o|pcode; t|
|00002c80| 68 65 6e 20 74 68 65 20 | 74 6f 6f 6c 62 6f 78 20 |hen the |toolbox |
|00002c90| 74 72 61 70 20 5f 46 50 | 36 38 4b 20 28 66 6f 72 |trap _FP|68K (for|
|00002ca0| 20 74 68 65 20 62 61 73 | 69 63 20 6f 70 65 72 61 | the bas|ic opera|
|00002cb0| 74 69 6f 6e 73 29 20 6f | 72 20 5f 45 4c 45 4d 53 |tions) o|r _ELEMS|
|00002cc0| 36 38 4b 20 28 66 6f 72 | 00 00 02 0b 00 09 00 4f |68K (for|.......O|
|00002cd0| c3 74 68 65 20 6d 6f 72 | 65 20 63 6f 6d 70 6c 69 |.the mor|e compli|
|00002ce0| 63 61 74 65 64 20 66 75 | 6e 63 74 69 6f 6e 73 29 |cated fu|nctions)|
|00002cf0| 20 69 73 20 63 61 6c 6c | 65 64 2e 20 54 68 65 20 | is call|ed. The |
|00002d00| 72 65 73 75 6c 74 20 77 | 69 6c 6c 20 62 65 20 64 |result w|ill be d|
|00002d10| 65 70 6f 73 69 74 65 64 | 20 69 6e 20 74 68 65 00 |eposited| in the.|
|00002d20| 00 00 02 17 00 09 00 4b | c3 fd 00 11 61 64 64 72 |.......K|....addr|
|00002d30| 65 73 73 2c 20 fd 00 34 | 69 73 20 6f 76 65 72 77 |ess, ..4|is overw|
|00002d40| 72 69 74 74 65 6e 2e 20 | 54 6f 20 75 6e 64 65 72 |ritten. |To under|
|00002d50| 73 74 61 6e 64 20 74 68 | 65 20 63 61 6c 6c 69 6e |stand th|e callin|
|00002d60| 67 20 70 72 6f 63 65 64 | 75 72 65 20 62 65 74 74 |g proced|ure bett|
|00002d70| 65 72 2c 00 00 00 02 23 | 00 09 00 37 c3 6c 65 74 |er,....#|...7.let|
|00002d80| 20 75 73 20 73 65 65 20 | 68 6f 77 20 74 6f 6f 6c | us see |how tool|
|00002d90| 62 6f 78 20 74 72 61 70 | 73 20 61 72 65 20 63 61 |box trap|s are ca|
|00002da0| 6c 6c 65 64 20 66 72 6f | 6d 20 4d 61 63 46 6f 72 |lled fro|m MacFor|
|00002db0| 74 68 2e 00 00 00 02 2f | 00 24 00 49 c3 fb 00 2f |th...../|.$.I.../|
|00002dc0| 61 72 65 20 74 68 72 65 | 65 20 74 79 70 65 73 20 |are thre|e types |
|00002dd0| 6f 66 20 74 6f 6f 6c 62 | 6f 78 20 74 72 61 70 73 |of toolb|ox traps|
|00002de0| 20 69 6e 20 74 68 65 20 | 4d 61 63 69 6e 74 6f 73 | in the |Macintos|
|00002df0| 68 2e 20 4f 70 65 72 61 | 74 69 6e 67 20 fd 00 2c |h. Opera|ting ..,|
|00002e00| 74 72 61 70 73 00 00 00 | 02 3b 00 09 00 4e c3 65 |traps...|.;...N.e|
|00002e10| 78 70 65 63 74 20 61 20 | 62 75 66 66 65 72 20 70 |xpect a |buffer p|
|00002e20| 6f 69 6e 74 65 72 20 69 | 6e 20 72 65 67 69 73 74 |ointer i|n regist|
|00002e30| 65 72 20 41 30 20 61 6e | 64 20 72 65 74 75 72 6e |er A0 an|d return|
|00002e40| 20 61 6e 20 49 2f 4f 20 | 72 65 73 75 6c 74 20 69 | an I/O |result i|
|00002e50| 6e 20 44 30 3b 20 50 61 | 73 63 61 6c 00 00 02 47 |n D0; Pa|scal...G|
|00002e60| 00 09 00 55 c3 70 72 6f | 63 65 64 75 72 65 73 20 |...U.pro|cedures |
|00002e70| 65 78 70 65 63 74 20 74 | 68 65 69 72 20 70 61 72 |expect t|heir par|
|00002e80| 61 6d 65 74 65 72 73 20 | 6f 6e 20 74 68 65 20 73 |ameters |on the s|
|00002e90| 74 61 63 6b 2c 20 61 6e | 64 20 50 61 73 63 61 6c |tack, an|d Pascal|
|00002ea0| 20 66 75 6e 63 74 69 6f | 6e 73 20 65 78 70 65 63 | functio|ns expec|
|00002eb0| 74 20 61 20 73 70 61 63 | 65 00 00 00 02 53 00 09 |t a spac|e....S..|
|00002ec0| 00 56 c3 66 6f 72 20 74 | 68 65 69 72 20 72 65 73 |.V.for t|heir res|
|00002ed0| 75 6c 74 20 6f 6e 20 74 | 68 65 20 62 6f 74 74 6f |ult on t|he botto|
|00002ee0| 6d 20 6f 66 20 74 68 65 | 20 73 74 61 63 6b 2c 20 |m of the| stack, |
|00002ef0| 66 6f 6c 6c 6f 77 65 64 | 20 62 79 20 61 6c 6c 20 |followed| by all |
|00002f00| 74 68 65 20 70 61 72 61 | 6d 65 74 65 72 73 2e 20 |the para|meters. |
|00002f10| 4d 61 63 46 6f 72 74 68 | 00 00 02 5f 00 09 00 59 |MacForth|..._...Y|
|00002f20| c3 31 2e 31 20 70 72 6f | 76 69 64 65 73 20 70 72 |.1.1 pro|vides pr|
|00002f30| 65 64 65 66 69 6e 65 64 | 20 77 6f 72 64 73 20 66 |edefined| words f|
|00002f40| 6f 72 20 61 6c 6c 20 74 | 68 72 65 65 20 74 72 61 |or all t|hree tra|
|00002f50| 70 20 74 79 70 65 73 3b | 20 74 68 65 79 20 77 69 |p types;| they wi|
|00002f60| 6c 6c 20 62 65 20 64 65 | 73 63 72 69 62 65 64 20 |ll be de|scribed |
|00002f70| 69 6e 20 64 65 74 61 69 | 6c 00 00 00 02 6b 00 09 |in detai|l....k..|
|00002f80| 00 5a c3 69 6e 20 74 68 | 65 20 6e 65 78 74 20 69 |.Z.in th|e next i|
|00002f90| 73 73 75 65 20 6f 66 20 | 4d 61 63 54 65 63 68 2e |ssue of |MacTech.|
|00002fa0| 20 54 68 65 20 66 6c 6f | 61 74 69 6e 67 20 70 6f | The flo|ating po|
|00002fb0| 69 6e 74 20 70 61 63 6b | 61 67 65 20 69 73 20 63 |int pack|age is c|
|00002fc0| 61 6c 6c 65 64 20 61 73 | 20 61 20 50 61 73 63 61 |alled as| a Pasca|
|00002fd0| 6c 20 70 72 6f 63 65 64 | 75 72 65 2c 00 00 02 77 |l proced|ure,...w|
|00002fe0| 00 09 00 54 c3 77 69 74 | 68 20 69 74 73 20 70 61 |...T.wit|h its pa|
|00002ff0| 72 61 6d 65 74 65 72 73 | 20 6f 6e 20 74 68 65 20 |rameters| on the |
|00003000| 73 74 61 63 6b 2e 20 53 | 69 6e 63 65 20 73 74 61 |stack. S|ince sta|
|00003010| 63 6b 20 fd 00 1c 69 6e | 20 4d 61 63 46 6f 72 74 |ck ...in| MacFort|
|00003020| 68 20 61 72 65 20 33 32 | 20 62 69 74 73 20 69 6e |h are 32| bits in|
|00003030| 20 6c 65 6e 67 74 68 2c | 00 00 02 83 00 09 00 4e | length,|.......N|
|00003040| c3 77 68 69 6c 65 20 73 | 6f 6d 65 20 6f 66 20 74 |.while s|ome of t|
|00003050| 68 65 20 74 6f 6f 6c 62 | 6f 78 20 70 72 6f 63 65 |he toolb|ox proce|
|00003060| 64 75 72 65 73 20 65 78 | 70 65 63 74 20 31 36 20 |dures ex|pect 16 |
|00003070| 62 69 74 20 70 61 72 61 | 6d 65 74 65 72 73 2c 20 |bit para|meters, |
|00003080| fd 00 2f 65 78 69 73 74 | 20 74 68 72 65 65 00 00 |../exist| three..|
|00003090| 02 8f 00 09 00 53 c3 64 | 69 66 66 65 72 65 6e 74 |.....S.d|ifferent|
|000030a0| 20 46 6f 72 74 68 20 77 | 6f 72 64 73 20 66 6f 72 | Forth w|ords for|
|000030b0| 20 50 61 73 63 61 6c 2d | 74 79 70 65 20 63 61 6c | Pascal-|type cal|
|000030c0| 6c 73 2c 20 64 65 70 65 | 6e 64 69 6e 67 20 77 68 |ls, depe|nding wh|
|000030d0| 65 74 68 65 72 20 fd 00 | 2f 61 72 65 20 6e 6f 6e |ether ..|/are non|
|000030e0| 65 2c 20 6f 6e 65 20 6f | 72 00 00 00 02 9b 00 09 |e, one o|r.......|
|000030f0| 00 37 c3 74 77 6f 20 31 | 36 2d 62 69 74 20 fd 00 |.7.two 1|6-bit ..|
|00003100| 1c 6f 6e 20 74 6f 70 20 | 6f 66 20 74 68 65 20 73 |.on top |of the s|
|00003110| 74 61 63 6b 3a 20 4d 54 | 2c 20 57 3e 4d 54 20 61 |tack: MT|, W>MT a|
|00003120| 6e 64 20 32 57 3e 4d 54 | 2e 00 00 00 02 a7 00 24 |nd 2W>MT|.......$|
|00003130| 00 51 c3 54 68 65 20 66 | 6c 6f 61 74 69 6e 67 20 |.Q.The f|loating |
|00003140| 70 6f 69 6e 74 20 72 6f | 75 74 69 6e 65 73 20 61 |point ro|utines a|
|00003150| 6c 77 61 79 73 20 65 78 | 70 65 63 74 20 6f 6e 65 |lways ex|pect one|
|00003160| 20 31 36 20 62 69 74 20 | 70 61 72 61 6d 65 74 65 | 16 bit |paramete|
|00003170| 72 20 6f 6e 20 74 6f 70 | 2c 20 61 6c 6c 20 6f 74 |r on top|, all ot|
|00003180| 68 65 72 00 00 00 02 b3 | 00 09 00 55 c3 70 61 72 |her.....|...U.par|
|00003190| 61 6d 65 74 65 72 73 20 | 20 28 75 70 20 74 6f 20 |ameters | (up to |
|000031a0| 74 68 72 65 65 29 20 61 | 72 65 20 33 32 20 62 69 |three) a|re 32 bi|
|000031b0| 74 73 20 6c 6f 6e 67 2e | 20 54 68 65 20 4d 61 63 |ts long.| The Mac|
|000031c0| 46 6f 72 74 68 20 77 6f | 72 64 20 74 6f 20 63 61 |Forth wo|rd to ca|
|000031d0| 6c 6c 20 74 68 65 73 65 | 20 72 6f 75 74 69 6e 65 |ll these| routine|
|000031e0| 73 00 00 00 02 bf 00 09 | 00 4c c3 fe 00 2f 66 6f |s.......|.L.../fo|
|000031f0| 72 65 20 77 6f 75 6c 64 | 20 62 65 20 57 3e 4d 54 |re would| be W>MT|
|00003200| 2e 20 54 68 65 20 74 72 | 61 70 20 61 64 64 72 65 |. The tr|ap addre|
|00003210| 73 73 65 73 20 61 72 65 | 20 24 41 39 45 42 20 66 |sses are| $A9EB f|
|00003220| 6f 72 20 46 50 36 38 4b | 20 61 6e 64 20 24 41 39 |or FP68K| and $A9|
|00003230| 45 43 20 66 6f 72 00 00 | 02 cb 00 09 00 50 c3 45 |EC for..|.....P.E|
|00003240| 4c 45 4d 53 36 38 4b 2e | 20 28 54 68 65 73 65 20 |LEMS68K.| (These |
|00003250| 61 72 65 2c 20 61 63 74 | 75 61 6c 6c 79 2c 20 74 |are, act|ually, t|
|00003260| 68 65 20 61 64 64 72 65 | 73 73 65 73 20 6f 66 20 |he addre|sses of |
|00003270| 50 61 63 6b 61 67 65 20 | 34 20 61 6e 64 20 50 61 |Package |4 and Pa|
|00003280| 63 6b 61 67 65 20 35 20 | 6f 66 20 74 68 65 00 00 |ckage 5 |of the..|
|00003290| 02 d7 00 09 00 3a c3 4f | 70 65 72 61 74 69 6e 67 |.....:.O|perating|
|000032a0| 20 fb 00 2c 50 61 63 6b | 61 67 65 73 29 2e 20 57 | ..,Pack|ages). W|
|000032b0| 65 20 63 61 6e 20 6e 6f | 77 20 64 65 66 69 6e 65 |e can no|w define|
|000032c0| 20 6f 75 72 20 74 72 61 | 70 20 63 61 6c 6c 73 3a | our tra|p calls:|
|000032d0| 00 00 02 ed 00 12 00 04 | c8 48 45 58 00 00 02 f8 |........|.HEX....|
|000032e0| 00 12 00 16 c8 3a 20 20 | 41 39 45 42 20 20 57 3e |.....: |A9EB W>|
|000032f0| 4d 54 20 46 50 36 38 4b | 20 3b 00 00 03 03 00 12 |MT FP68K| ;......|
|00003300| 00 19 c8 3a 20 20 41 39 | 45 43 20 20 57 3e 4d 54 |...: A9|EC W>MT|
|00003310| 20 45 4c 45 4d 53 36 38 | 4b 20 3b 00 00 00 03 1b | ELEMS68|K ;.....|
|00003320| 00 24 00 4d c3 54 68 65 | 6e 20 77 65 20 63 61 6e |.$.M.The|n we can|
|00003330| 20 63 61 6c 6c 20 61 20 | 66 6c 6f 61 74 69 6e 67 | call a |floating|
|00003340| 20 70 6f 69 6e 74 20 6f | 70 65 72 61 74 69 6f 6e | point o|peration|
|00003350| 20 62 79 20 70 75 73 68 | 69 6e 67 20 74 68 65 20 | by push|ing the |
|00003360| 70 61 72 61 6d 65 74 65 | 72 73 20 6f 6e 20 74 68 |paramete|rs on th|
|00003370| 65 00 00 00 03 27 00 09 | 00 52 c3 73 74 61 63 6b |e....'..|.R.stack|
|00003380| 2c 20 66 6f 6c 6c 6f 77 | 65 64 20 62 79 20 74 68 |, follow|ed by th|
|00003390| 65 20 6f 70 63 6f 64 65 | 2c 20 61 6e 64 20 65 78 |e opcode|, and ex|
|000033a0| 65 63 75 74 69 6e 67 20 | 46 50 36 38 4b 20 6f 72 |ecuting |FP68K or|
|000033b0| 20 45 4c 45 4d 53 36 38 | 4b 2e 20 41 73 20 61 6e | ELEMS68|K. As an|
|000033c0| 20 65 78 61 6d 70 6c 65 | 2c 20 69 66 00 00 03 33 | example|, if...3|
|000033d0| 00 09 00 3e c3 77 65 20 | 68 61 64 20 64 65 66 69 |...>.we |had defi|
|000033e0| 6e 65 64 20 74 68 65 20 | 31 30 2d 62 79 74 65 20 |ned the |10-byte |
|000033f0| 76 61 72 69 61 62 6c 65 | 73 20 53 4f 55 52 43 45 |variable|s SOURCE|
|00003400| 20 20 61 6e 64 20 44 45 | 53 54 49 4e 41 54 49 4f | and DE|STINATIO|
|00003410| 4e 3a 00 00 03 49 00 12 | 00 1a c8 53 4f 55 52 43 |N:...I..|...SOURC|
|00003420| 45 20 20 43 52 45 41 54 | 45 20 20 31 30 20 20 41 |E CREAT|E 10 A|
|00003430| 4c 4c 4f 54 00 00 03 54 | 00 12 00 1f c8 44 45 53 |LLOT...T|.....DES|
|00003440| 54 49 4e 41 54 49 4f 4e | 20 20 43 52 45 41 54 45 |TINATION| CREATE|
|00003450| 20 20 31 30 20 20 41 4c | 4c 4f 54 00 00 00 03 70 | 10 AL|LOT....p|
|00003460| 00 09 00 51 c3 61 6e 64 | 20 68 61 64 20 70 75 74 |...Q.and| had put|
|00003470| 20 72 65 61 6c 20 6e 75 | 6d 62 65 72 73 20 69 6e | real nu|mbers in|
|00003480| 74 6f 20 62 6f 74 68 20 | 6f 66 20 74 68 65 6d 2c |to both |of them,|
|00003490| 20 77 65 20 77 6f 75 6c | 64 20 61 64 64 20 53 4f | we woul|d add SO|
|000034a0| 55 52 43 45 20 69 6e 74 | 6f 20 44 45 53 54 49 4e |URCE int|o DESTIN|
|000034b0| 41 54 49 4f 4e 00 00 00 | 03 7c 00 09 00 0e c3 62 |ATION...|.|.....b|
|000034c0| 79 20 65 78 65 63 75 74 | 69 6e 67 3a 00 00 03 93 |y execut|ing:....|
|000034d0| 00 12 00 1e c8 53 4f 55 | 52 43 45 20 20 44 45 53 |.....SOU|RCE DES|
|000034e0| 54 49 4e 41 54 49 4f 4e | 20 20 30 20 20 46 50 36 |TINATION| 0 FP6|
|000034f0| 38 4b 00 00 03 b0 00 09 | 00 50 c3 61 66 74 65 72 |8K......|.P.after|
|00003500| 20 fd 00 34 6f 70 65 72 | 61 74 69 6f 6e 20 44 45 | ..4oper|ation DE|
|00003510| 53 54 49 4e 41 54 49 4f | 4e 20 77 6f 75 6c 64 20 |STINATIO|N would |
|00003520| 63 6f 6e 74 61 69 6e 20 | 74 68 65 20 38 30 2d 62 |contain |the 80-b|
|00003530| 69 74 20 72 65 73 75 6c | 74 20 6f 66 20 74 68 65 |it resul|t of the|
|00003540| 20 61 64 64 69 74 69 6f | 6e 2c 00 00 03 bc 00 09 | additio|n,......|
|00003550| 00 4e c3 77 68 69 6c 65 | 20 74 68 65 20 63 6f 6e |.N.while| the con|
|00003560| 74 65 6e 74 73 20 6f 66 | 20 53 4f 55 52 43 45 20 |tents of| SOURCE |
|00003570| 77 6f 75 6c 64 20 62 65 | 20 75 6e 63 68 61 6e 67 |would be| unchang|
|00003580| 65 64 2e 20 41 20 66 75 | 6e 63 74 69 6f 6e 20 66 |ed. A fu|nction f|
|00003590| 72 6f 6d 20 74 68 65 20 | 45 4c 45 4d 53 36 38 4b |rom the |ELEMS68K|
|000035a0| 00 00 03 c8 00 09 00 50 | c3 70 61 63 6b 61 67 65 |.......P|.package|
|000035b0| 20 77 6f 75 6c 64 20 62 | 65 20 63 61 6c 6c 65 64 | would b|e called|
|000035c0| 20 69 6e 20 61 6e 20 65 | 71 75 61 6c 6c 79 20 73 | in an e|qually s|
|000035d0| 69 6d 70 6c 65 20 77 61 | 79 2c 20 65 2e 67 2e 20 |imple wa|y, e.g. |
|000035e0| 74 68 65 20 6e 61 74 75 | 72 61 6c 20 6c 6f 67 61 |the natu|ral loga|
|000035f0| 72 69 74 68 6d 20 6f 66 | 00 00 03 d4 00 09 00 3d |rithm of|.......=|
|00003600| c3 44 45 53 54 49 4e 41 | 54 49 4f 4e 20 69 73 20 |.DESTINA|TION is |
|00003610| 6f 62 74 61 69 6e 65 64 | 20 62 79 20 73 61 79 69 |obtained| by sayi|
|00003620| 6e 67 20 20 20 44 45 53 | 54 49 4e 41 54 49 4f 4e |ng DES|TINATION|
|00003630| 20 30 20 46 50 36 38 4b | 20 20 20 20 2e 00 00 00 | 0 FP68K| ....|
|00003640| 03 e0 00 24 00 51 c3 54 | 68 65 20 31 36 2d 62 69 |...$.Q.T|he 16-bi|
|00003650| 74 20 6f 70 63 6f 64 65 | 20 63 6f 6e 73 69 73 74 |t opcode| consist|
|00003660| 73 20 6f 66 20 74 77 6f | 20 70 61 72 74 73 2e 20 |s of two| parts. |
|00003670| 54 68 65 20 68 69 67 68 | 20 6f 72 64 65 72 20 62 |The high| order b|
|00003680| 79 74 65 20 67 69 76 65 | 73 20 74 68 65 20 66 6f |yte give|s the fo|
|00003690| 72 6d 61 74 20 6f 66 00 | 00 00 03 ec 00 09 00 54 |rmat of.|.......T|
|000036a0| c3 74 68 65 20 53 4f 55 | 52 43 45 20 6f 70 65 72 |.the SOU|RCE oper|
|000036b0| 61 6e 64 20 28 65 78 63 | 65 70 74 20 66 6f 72 20 |and (exc|ept for |
|000036c0| 6f 70 63 6f 64 65 73 20 | 24 39 20 61 6e 64 20 24 |opcodes |$9 and $|
|000036d0| 31 30 2c 20 73 65 65 20 | 74 61 62 6c 65 20 31 29 |10, see |table 1)|
|000036e0| 2c 20 74 68 65 20 6c 6f | 77 20 6f 72 64 65 72 20 |, the lo|w order |
|000036f0| 62 79 74 65 00 00 03 f8 | 00 09 00 4a c3 73 70 65 |byte....|...J.spe|
|00003700| 63 69 66 69 65 73 20 74 | 68 65 20 6f 70 65 72 61 |cifies t|he opera|
|00003710| 74 69 6f 6e 2e 20 fb 00 | 21 31 20 64 65 66 69 6e |tion. ..|!1 defin|
|00003720| 65 73 20 73 6f 6d 65 20 | 46 6f 72 74 68 20 77 6f |es some |Forth wo|
|00003730| 72 64 73 20 74 68 61 74 | 20 63 61 6c 6c 20 74 68 |rds that| call th|
|00003740| 65 20 6d 6f 73 74 00 00 | 04 04 00 09 00 56 c3 69 |e most..|.....V.i|
|00003750| 6d 70 6f 72 74 61 6e 74 | 20 66 6c 6f 61 74 69 6e |mportant| floatin|
|00003760| 67 20 70 6f 69 6e 74 20 | 6f 70 65 72 61 74 69 6f |g point |operatio|
|00003770| 6e 73 20 74 68 72 6f 75 | 67 68 20 74 6f 6f 6c 62 |ns throu|gh toolb|
|00003780| 6f 78 20 63 61 6c 6c 73 | 20 77 69 74 68 20 74 68 |ox calls| with th|
|00003790| 65 20 61 70 70 72 6f 70 | 72 69 61 74 65 20 6f 70 |e approp|riate op|
|000037a0| 63 6f 64 65 00 00 04 10 | 00 09 00 0e c3 6f 6e 20 |code....|.....on |
|000037b0| 74 68 65 20 73 74 61 63 | 6b 2e 00 00 04 1c 00 24 |the stac|k......$|
|000037c0| 00 49 c3 fb 00 2f 69 73 | 20 6f 6e 65 20 6f 70 65 |.I.../is| one ope|
|000037d0| 72 61 74 69 6f 6e 20 74 | 68 61 74 20 64 65 73 65 |ration t|hat dese|
|000037e0| 72 76 65 73 20 fd 00 2d | 61 74 74 65 6e 74 69 6f |rves ..-|attentio|
|000037f0| 6e 2c 20 61 6e 64 20 74 | 68 61 74 20 69 73 20 74 |n, and t|hat is t|
|00003800| 68 65 20 66 6c 6f 61 74 | 69 6e 67 00 00 00 04 28 |he float|ing....(|
|00003810| 00 09 00 55 c3 70 6f 69 | 6e 74 20 2d 20 64 65 63 |...U.poi|nt - dec|
|00003820| 69 6d 61 6c 20 63 6f 6e | 76 65 72 73 69 6f 6e 20 |imal con|version |
|00003830| 72 6f 75 74 69 6e 65 2e | 20 54 68 69 73 20 72 6f |routine.| This ro|
|00003840| 75 74 69 6e 65 20 65 78 | 70 65 63 74 73 20 74 68 |utine ex|pects th|
|00003850| 72 65 65 20 70 61 72 61 | 6d 65 74 65 72 73 20 75 |ree para|meters u|
|00003860| 6e 64 65 72 6e 65 61 74 | 68 00 00 00 04 34 00 09 |nderneat|h....4..|
|00003870| 00 53 c3 74 68 65 20 6f | 70 63 6f 64 65 3a 20 64 |.S.the o|pcode: d|
|00003880| 65 65 70 65 73 74 20 69 | 6e 20 74 68 65 20 73 74 |eepest i|n the st|
|00003890| 61 63 6b 20 69 73 20 61 | 20 70 6f 69 6e 74 65 72 |ack is a| pointer|
|000038a0| 20 74 6f 20 61 20 ff d4 | 66 6f 72 6d 61 74 20 fe | to a ..|format .|
|000038b0| 00 2a ff d5 2c 20 66 6f | 6c 6c 6f 77 65 64 20 62 |.*.., fo|llowed b|
|000038c0| 79 20 74 68 65 00 00 00 | 04 40 00 09 00 4b c3 73 |y the...|.@...K.s|
|000038d0| 6f 75 72 63 65 20 76 61 | 72 69 61 62 6c 65 20 70 |ource va|riable p|
|000038e0| 6f 69 6e 74 65 72 2c 20 | 61 6e 64 20 74 68 65 6e |ointer, |and then|
|000038f0| 20 74 68 65 20 fd 00 11 | 70 6f 69 6e 74 65 72 2e | the ...|pointer.|
|00003900| 20 20 46 6f 72 20 61 20 | 63 6f 6e 76 65 72 73 69 | For a |conversi|
|00003910| 6f 6e 20 66 72 6f 6d 20 | 61 00 00 00 04 4c 00 09 |on from |a....L..|
|00003920| 00 53 c3 72 65 61 6c 20 | 6e 75 6d 62 65 72 20 74 |.S.real |number t|
|00003930| 6f 20 61 20 64 65 63 69 | 6d 61 6c 20 6e 75 6d 62 |o a deci|mal numb|
|00003940| 65 72 2c 20 74 68 65 20 | 73 6f 75 72 63 65 20 76 |er, the |source v|
|00003950| 61 72 69 61 62 6c 65 20 | 69 73 20 31 30 2d 62 79 |ariable |is 10-by|
|00003960| 74 65 20 66 6c 6f 61 74 | 69 6e 67 20 70 6f 69 6e |te float|ing poin|
|00003970| 74 20 61 6e 64 00 00 00 | 04 58 00 09 00 4b c3 74 |t and...|.X...K.t|
|00003980| 68 65 20 fd 00 11 76 61 | 72 69 61 62 6c 65 20 63 |he ...va|riable c|
|00003990| 6f 6e 73 69 73 74 73 20 | 6f 66 20 61 20 32 20 62 |onsists |of a 2 b|
|000039a0| 79 74 65 20 69 6e 74 65 | 67 65 72 20 fd 00 34 69 |yte inte|ger ..4i|
|000039b0| 73 20 30 20 66 6f 72 20 | 70 6f 73 69 74 69 76 65 |s 0 for |positive|
|000039c0| 20 61 6e 64 20 3e 32 35 | 36 00 00 00 04 64 00 09 | and >25|6....d..|
|000039d0| 00 51 c3 66 6f 72 20 6e | 65 67 61 74 69 76 65 20 |.Q.for n|egative |
|000039e0| 6e 75 6d 62 65 72 73 2c | 20 61 20 32 20 62 79 74 |numbers,| a 2 byt|
|000039f0| 65 20 73 69 67 6e 65 64 | 20 69 6e 74 65 67 65 72 |e signed| integer|
|00003a00| 20 fd 00 34 63 6f 6e 74 | 61 69 6e 73 20 74 68 65 | ..4cont|ains the|
|00003a10| 20 65 78 70 6f 6e 65 6e | 74 2c 20 61 20 31 20 62 | exponen|t, a 1 b|
|00003a20| 79 74 65 00 00 00 04 70 | 00 09 00 54 c3 66 69 65 |yte....p|...T.fie|
|00003a30| 6c 64 20 fd 00 34 63 6f | 6e 74 61 69 6e 73 20 74 |ld ..4co|ntains t|
|00003a40| 68 65 20 6c 65 6e 67 74 | 68 20 61 6e 64 20 61 20 |he lengt|h and a |
|00003a50| 32 30 20 62 79 74 65 20 | 66 69 65 6c 64 20 fd 00 |20 byte |field ..|
|00003a60| 34 63 6f 6e 74 61 69 6e | 73 20 74 68 65 20 73 69 |4contain|s the si|
|00003a70| 67 6e 69 66 69 63 61 6e | 74 20 64 69 67 69 74 73 |gnifican|t digits|
|00003a80| 00 00 04 7c 00 09 00 4f | c3 6f 66 20 74 68 65 20 |...|...O|.of the |
|00003a90| 6d 61 6e 74 69 73 73 61 | 2e 20 54 68 65 20 66 6f |mantissa|. The fo|
|00003aa0| 72 6d 61 74 20 fd 00 2a | 69 73 2c 20 66 6f 72 20 |rmat ..*|is, for |
|00003ab0| 6f 75 72 20 70 75 72 70 | 6f 73 65 73 2c 20 61 20 |our purp|oses, a |
|00003ac0| 34 20 62 79 74 65 20 69 | 6e 74 65 67 65 72 20 fd |4 byte i|nteger .|
|00003ad0| 00 34 67 69 76 65 73 00 | 00 00 04 88 00 09 00 56 |.4gives.|.......V|
|00003ae0| c3 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 73 |.the num|ber of s|
|00003af0| 69 67 6e 69 66 69 63 61 | 6e 74 20 64 69 67 69 74 |ignifica|nt digit|
|00003b00| 73 20 74 6f 20 62 65 20 | 75 73 65 64 20 69 6e 20 |s to be |used in |
|00003b10| 74 68 65 20 63 6f 6e 76 | 65 72 73 69 6f 6e 2e 20 |the conv|ersion. |
|00003b20| 45 78 61 6d 70 6c 65 2c | 20 61 73 73 75 6d 65 20 |Example,| assume |
|00003b30| 74 68 61 74 20 59 00 00 | 04 94 00 09 00 4e c3 70 |that Y..|.....N.p|
|00003b40| 6f 69 6e 74 73 20 74 6f | 20 74 68 65 20 72 65 61 |oints to| the rea|
|00003b50| 6c 20 6e 75 6d 62 65 72 | 20 32 2e 33 34 35 2c 20 |l number| 2.345, |
|00003b60| 44 45 43 53 54 52 49 4e | 47 20 74 6f 20 61 20 32 |DECSTRIN|G to a 2|
|00003b70| 35 2d 62 79 74 65 20 61 | 72 72 61 79 20 61 6e 64 |5-byte a|rray and|
|00003b80| 20 46 4f 52 4d 41 54 20 | 74 6f 20 61 00 00 04 a0 | FORMAT |to a....|
|00003b90| 00 09 00 1e c3 34 2d 62 | 79 74 65 20 69 6e 74 65 |.....4-b|yte inte|
|00003ba0| 67 65 72 20 63 6f 6e 74 | 61 69 6e 69 6e 67 20 31 |ger cont|aining 1|
|00003bb0| 30 3a 00 00 04 b7 00 12 | 00 17 c8 46 4f 52 4d 41 |0:......|...FORMA|
|00003bc0| 54 20 59 20 44 45 43 53 | 54 52 49 4e 47 20 42 32 |T Y DECS|TRING B2|
|00003bd0| 44 00 00 00 04 d4 00 09 | 00 55 c3 77 69 6c 6c 20 |D.......|.U.will |
|00003be0| 6c 65 61 76 65 20 7a 65 | 72 6f 20 69 6e 20 74 68 |leave ze|ro in th|
|00003bf0| 65 20 66 69 72 73 74 20 | 74 77 6f 20 62 79 74 65 |e first |two byte|
|00003c00| 73 20 6f 66 20 44 45 43 | 53 54 52 49 4e 47 2c 20 |s of DEC|STRING, |
|00003c10| 2b 39 20 69 6e 20 74 68 | 65 20 6e 65 78 74 20 74 |+9 in th|e next t|
|00003c20| 77 6f 20 62 79 74 65 73 | 2c 20 31 30 20 69 6e 00 |wo bytes|, 10 in.|
|00003c30| 00 00 04 e0 00 09 00 4e | c3 74 68 65 20 6e 65 78 |.......N|.the nex|
|00003c40| 74 20 62 79 74 65 20 61 | 6e 64 20 74 68 65 20 41 |t byte a|nd the A|
|00003c50| 53 43 49 49 20 63 68 61 | 72 61 63 74 65 72 73 20 |SCII cha|racters |
|00003c60| ff d2 32 33 34 35 30 30 | 30 30 30 30 78 78 78 78 |..234500|0000xxxx|
|00003c70| 78 78 78 78 78 78 ff d3 | 20 fe 00 2f 61 66 74 65 |xxxxxx..| ../afte|
|00003c80| 72 20 28 78 20 3d 00 00 | 04 ec 00 09 00 58 c3 75 |r (x =..|.....X.u|
|00003c90| 6e 64 65 66 69 6e 65 64 | 29 2e 20 56 69 63 65 20 |ndefined|). Vice |
|00003ca0| 76 65 72 73 61 2c 20 6f | 6e 65 20 63 61 6e 20 73 |versa, o|ne can s|
|00003cb0| 65 74 20 75 70 20 61 20 | 64 65 63 69 6d 61 6c 20 |et up a |decimal |
|00003cc0| 73 74 72 69 6e 67 20 69 | 6e 20 61 20 32 35 20 62 |string i|n a 25 b|
|00003cd0| 79 74 65 20 61 72 72 61 | 79 20 61 63 63 6f 72 64 |yte arra|y accord|
|00003ce0| 69 6e 67 20 74 6f 00 00 | 04 f8 00 09 00 16 c3 74 |ing to..|.......t|
|00003cf0| 68 65 73 65 20 72 75 6c | 65 73 20 61 6e 64 20 63 |hese rul|es and c|
|00003d00| 61 6c 6c 3a 00 00 05 0f | 00 12 00 28 c8 46 4f 52 |all:....|...(.FOR|
|00003d10| 4d 41 54 20 44 45 43 53 | 54 52 49 4e 47 20 59 20 |MAT DECS|TRING Y |
|00003d20| 44 32 42 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |D2B | |
|00003d30| 20 20 20 20 00 00 05 27 | 00 24 00 48 c3 fd 00 34 | ...'|.$.H...4|
|00003d40| 77 69 6c 6c 20 6c 65 61 | 76 65 20 74 68 65 20 72 |will lea|ve the r|
|00003d50| 65 61 6c 20 6e 75 6d 62 | 65 72 20 63 6f 72 72 65 |eal numb|er corre|
|00003d60| 73 70 6f 6e 64 69 6e 67 | 20 74 6f 20 44 45 43 53 |sponding| to DECS|
|00003d70| 54 52 49 4e 47 20 69 6e | 20 59 2e 20 54 68 65 20 |TRING in| Y. The |
|00003d80| 77 6f 72 64 00 00 05 33 | 00 09 00 4d c3 44 45 43 |word...3|...M.DEC|
|00003d90| 2e 20 28 64 65 66 69 6e | 65 64 20 69 6e 20 fd 00 |. (defin|ed in ..|
|00003da0| 21 31 29 20 6d 61 6b 65 | 73 20 75 73 65 20 6f 66 |!1) make|s use of|
|00003db0| 20 74 68 69 73 20 63 6f | 6e 76 65 72 73 69 6f 6e | this co|nversion|
|00003dc0| 20 72 6f 75 74 69 6e 65 | 20 74 6f 20 6f 75 74 70 | routine| to outp|
|00003dd0| 75 74 20 61 20 72 65 61 | 6c 00 00 00 05 3f 00 09 |ut a rea|l....?..|
|00003de0| 00 08 c3 6e 75 6d 62 65 | 72 2e 00 00 05 4b 00 24 |...numbe|r....K.$|
|00003df0| 00 52 c3 54 72 79 20 61 | 6e 64 20 70 6c 61 79 20 |.R.Try a|nd play |
|00003e00| 77 69 74 68 20 74 68 6f | 73 65 20 66 6c 6f 61 74 |with tho|se float|
|00003e10| 69 6e 67 20 70 6f 69 6e | 74 20 72 6f 75 74 69 6e |ing poin|t routin|
|00003e20| 65 73 20 61 20 6c 69 74 | 74 6c 65 3b 20 74 68 65 |es a lit|tle; the|
|00003e30| 79 20 6d 61 6b 65 20 61 | 20 76 65 72 79 20 75 73 |y make a| very us|
|00003e40| 65 66 75 6c 00 00 05 57 | 00 09 00 55 c3 61 64 64 |eful...W|...U.add|
|00003e50| 69 74 69 6f 6e 20 74 6f | 20 46 6f 72 74 68 20 31 |ition to| Forth 1|
|00003e60| 2e 31 2c 20 69 66 20 79 | 6f 75 20 77 61 6e 74 20 |.1, if y|ou want |
|00003e70| 74 6f 20 64 6f 20 61 6e | 79 20 6b 69 6e 64 20 6f |to do an|y kind o|
|00003e80| 66 20 6e 75 6d 65 72 69 | 63 61 6c 20 63 61 6c 63 |f numeri|cal calc|
|00003e90| 75 6c 61 74 69 6f 6e 73 | 2e 20 59 6f 75 20 6d 61 |ulations|. You ma|
|00003ea0| 79 00 00 00 05 63 00 09 | 00 53 c3 77 61 6e 74 20 |y....c..|.S.want |
|00003eb0| 74 6f 20 74 69 6d 65 20 | 74 68 65 20 66 6c 6f 61 |to time |the floa|
|00003ec0| 74 69 6e 67 20 70 6f 69 | 6e 74 20 70 61 63 6b 61 |ting poi|nt packa|
|00003ed0| 67 65 20 75 73 69 6e 67 | 20 74 68 65 20 62 65 6e |ge using| the ben|
|00003ee0| 63 68 6d 61 72 6b 73 20 | 61 74 20 74 68 65 20 65 |chmarks |at the e|
|00003ef0| 6e 64 20 6f 66 20 fd 00 | 21 31 2e 20 49 00 00 00 |nd of ..|!1. I...|
|00003f00| 05 6f 00 09 00 4e c3 66 | 6f 75 6e 64 20 74 68 61 |.o...N.f|ound tha|
|00003f10| 74 20 61 6e 20 38 30 2d | 62 69 74 20 70 72 65 63 |t an 80-|bit prec|
|00003f20| 69 73 69 6f 6e 20 61 64 | 64 20 74 61 6b 65 73 20 |ision ad|d takes |
|00003f30| 61 62 6f 75 74 20 30 2e | 34 20 6d 73 2c 20 61 20 |about 0.|4 ms, a |
|00003f40| 6d 75 6c 74 69 70 6c 79 | 20 61 62 6f 75 74 20 31 |multiply| about 1|
|00003f50| 20 6d 73 2e 00 00 05 7b | 00 24 00 50 c3 49 6e 20 | ms....{|.$.P.In |
|00003f60| 74 68 65 20 6e 65 78 74 | 20 69 73 73 75 65 20 6f |the next| issue o|
|00003f70| 66 20 4d 61 63 54 65 63 | 68 20 77 65 20 77 69 6c |f MacTec|h we wil|
|00003f80| 6c 20 74 61 6b 65 20 61 | 20 63 6c 6f 73 65 72 20 |l take a| closer |
|00003f90| 6c 6f 6f 6b 20 61 74 20 | 74 6f 6f 6c 62 6f 78 20 |look at |toolbox |
|00003fa0| 63 61 6c 6c 69 6e 67 20 | 66 72 6f 6d 00 00 05 87 |calling |from....|
|00003fb0| 00 09 00 52 c3 46 6f 72 | 74 68 20 61 6e 64 20 61 |...R.For|th and a|
|00003fc0| 74 20 74 68 65 20 69 6e | 74 65 72 6e 61 6c 20 73 |t the in|ternal s|
|00003fd0| 74 72 75 63 74 75 72 65 | 20 6f 66 20 46 6f 72 74 |tructure| of Fort|
|00003fe0| 68 20 77 6f 72 64 73 2c | 20 73 6f 20 74 68 61 74 |h words,| so that|
|00003ff0| 20 79 6f 75 20 63 61 6e | 20 77 72 69 74 65 20 69 | you can| write i|
|00004000| 6e 2d 6c 69 6e 65 00 00 | 05 93 00 09 00 2c c3 61 |n-line..|.....,.a|
|00004010| 73 73 65 6d 62 6c 79 20 | 63 6f 64 65 20 66 6f 72 |ssembly |code for|
|00004020| 20 74 69 6d 65 20 63 72 | 69 74 69 63 61 6c 20 6f | time cr|itical o|
|00004030| 70 65 72 61 74 69 6f 6e | 73 2e 00 00 06 e0 00 05 |peration|s.......|
|00004040| 00 06 c3 f0 00 84 01 aa | 44 52 00 00 00 00 00 0f |........|DR......|
|00004050| 41 73 73 65 6d 62 6c 65 | 72 20 49 6e 74 72 6f 00 |Assemble|r Intro.|
|00004060| 00 fe 00 00 00 0c 00 09 | 00 0d c4 fb 00 32 4e 75 |........|.....2Nu|
|00004070| 6d 62 65 72 3a 97 31 00 | 00 00 00 18 00 09 00 10 |mber:.1.|........|
|00004080| c4 49 73 73 75 65 20 4e | 75 6d 62 65 72 3a a2 31 |.Issue N|umber:.1|
|00004090| 00 00 00 24 00 09 00 1a | c4 43 6f 6c 75 6d 6e 20 |...$....|.Column |
|000040a0| 54 61 67 3a b0 4d 61 63 | 20 41 73 73 65 6d 62 6c |Tag:.Mac| Assembl|
|000040b0| 65 72 00 00 00 40 00 09 | 00 22 c5 ff d2 49 6e 74 |er...@..|."...Int|
|000040c0| 72 6f 64 75 63 69 6e 67 | 20 74 68 65 20 4d 61 63 |roducing| the Mac|
|000040d0| 20 41 73 73 65 6d 62 6c | 65 72 ff d3 00 00 00 53 | Assembl|er.....S|
|000040e0| 00 09 00 12 c7 42 79 20 | 44 61 76 69 64 20 45 2e |.....By |David E.|
|000040f0| 20 53 6d 69 74 68 00 00 | 00 75 00 7b 00 22 c4 ff | Smith..|.u.{."..|
|00004100| d2 49 6e 74 72 6f 64 75 | 63 69 6e 67 20 74 68 65 |.Introdu|cing the|
|00004110| 20 4d 61 63 20 41 73 73 | 65 6d 62 6c 65 72 ff d3 | Mac Ass|embler..|
|00004120| 00 00 00 86 00 24 00 4c | c3 57 65 6c 63 6f 6d 65 |.....$.L|.Welcome|
|00004130| 20 74 6f 20 74 68 65 20 | 41 73 73 65 6d 62 6c 79 | to the |Assembly|
|00004140| 20 4c 61 6e 67 75 61 67 | 65 20 4c 61 62 2e 20 49 | Languag|e Lab. I|
|00004150| 6e 20 74 68 69 73 20 63 | 6f 6c 75 6d 6e 2c 20 77 |n this c|olumn, w|
|00004160| 65 20 77 69 6c 6c 20 62 | 65 20 64 69 73 63 75 73 |e will b|e discus|
|00004170| 73 69 6e 67 00 00 00 92 | 00 09 00 4a c3 70 72 6f |sing....|...J.pro|
|00004180| 67 72 61 6d 6d 69 6e 67 | 20 74 65 63 68 6e 69 71 |gramming| techniq|
|00004190| 75 65 73 20 61 6e 64 20 | fe 00 02 73 20 75 73 69 |ues and |...s usi|
|000041a0| 6e 67 20 74 68 65 20 4d | 61 63 69 6e 74 6f 73 68 |ng the M|acintosh|
|000041b0| 20 41 73 73 65 6d 62 6c | 65 72 2c 20 64 75 65 20 | Assembl|er, due |
|000041c0| 74 6f 20 62 65 20 00 00 | 00 9e 00 09 00 4d c3 72 |to be ..|.....M.r|
|000041d0| 65 6c 65 61 73 65 64 2e | 20 57 69 74 68 20 74 68 |eleased.| With th|
|000041e0| 65 20 61 73 73 65 6d 62 | 6c 65 72 2c 20 fb 00 03 |e assemb|ler, ...|
|000041f0| 68 61 73 20 61 74 20 6c | 61 73 74 20 70 72 6f 76 |has at l|ast prov|
|00004200| 69 64 65 64 20 61 20 63 | 6f 6d 70 6c 65 74 65 20 |ided a c|omplete |
|00004210| 73 74 61 6e 64 2d 61 6c | 6f 6e 65 00 00 00 00 aa |stand-al|one.....|
|00004220| 00 09 00 2b c3 64 65 76 | 65 6c 6f 70 6d 65 6e 74 |...+.dev|elopment|
|00004230| 20 fd 00 2c 66 6f 72 20 | 74 68 65 20 4d 61 63 69 | ..,for |the Maci|
|00004240| 6e 74 6f 73 68 20 63 6f | 6d 70 75 74 65 72 2e 00 |ntosh co|mputer..|
|00004250| 00 00 00 b6 00 24 00 4c | c3 54 68 65 20 4d 61 63 |.....$.L|.The Mac|
|00004260| 20 61 73 73 65 6d 62 6c | 65 72 20 20 77 61 73 20 | assembl|er was |
|00004270| 77 72 69 74 74 65 6e 20 | 62 79 20 42 69 6c 6c 20 |written |by Bill |
|00004280| 44 75 76 61 6c 6c 20 75 | 6e 64 65 72 20 63 6f 6e |Duvall u|nder con|
|00004290| 74 72 61 63 74 20 66 72 | 6f 6d 20 fb 00 03 61 6e |tract fr|om ...an|
|000042a0| 64 20 69 73 00 00 00 c2 | 00 09 00 58 c3 61 6e 20 |d is....|...X.an |
|000042b0| 65 78 63 65 6c 6c 65 6e | 74 20 70 72 6f 64 75 63 |excellen|t produc|
|000042c0| 74 2e 20 49 74 20 69 6e | 63 6c 75 64 65 73 20 61 |t. It in|cludes a|
|000042d0| 6e 20 65 64 69 74 6f 72 | 2c 20 61 73 73 65 6d 62 |n editor|, assemb|
|000042e0| 6c 65 72 2c 20 6c 69 6e | 6b 65 72 20 61 6e 64 20 |ler, lin|ker and |
|000042f0| 64 65 62 75 67 67 65 72 | 20 69 6e 20 61 64 64 69 |debugger| in addi|
|00004300| 74 69 6f 6e 00 00 00 ce | 00 09 00 53 c3 74 6f 20 |tion....|...S.to |
|00004310| 61 20 6e 75 6d 62 65 72 | 20 6f 66 20 75 73 65 66 |a number| of usef|
|00004320| 75 6c 20 75 74 69 6c 69 | 74 69 65 73 20 66 6f 72 |ul utili|ties for|
|00004330| 20 6d 61 6e 69 70 75 6c | 61 74 69 6e 67 20 69 63 | manipul|ating ic|
|00004340| 6f 6e 73 2c 20 66 6f 6e | 74 73 20 61 6e 64 20 fe |ons, fon|ts and .|
|00004350| 00 28 73 2e 20 41 6c 6c | 20 6f 66 20 74 68 65 00 |.(s. All| of the.|
|00004360| 00 00 00 da 00 09 00 4f | c3 4d 61 63 69 6e 74 6f |.......O|.Macinto|
|00004370| 73 68 20 74 6f 6f 6c 62 | 6f 78 20 61 6e 64 20 6f |sh toolb|ox and o|
|00004380| 70 65 72 61 74 69 6e 67 | 20 fd 00 2c 74 72 61 70 |perating| ..,trap|
|00004390| 20 63 61 6c 6c 73 20 61 | 72 65 20 66 75 6c 6c 79 | calls a|re fully|
|000043a0| 20 73 75 70 70 6f 72 74 | 65 64 20 77 69 74 68 20 | support|ed with |
|000043b0| 20 6d 61 63 72 6f 73 00 | 00 00 00 e6 00 09 00 51 | macros.|.......Q|
|000043c0| c3 61 6e 64 20 65 71 75 | 61 74 65 20 fe 00 1a 2e |.and equ|ate ....|
|000043d0| 20 54 68 69 73 20 6d 6f | 6e 74 68 ff d5 73 20 63 | This mo|nth..s c|
|000043e0| 6f 6c 75 6d 6e 20 69 73 | 20 62 61 73 65 64 20 6f |olumn is| based o|
|000043f0| 6e 20 74 68 65 20 41 75 | 67 75 73 74 20 32 39 2c |n the Au|gust 29,|
|00004400| 20 31 39 38 34 20 70 72 | 65 2d 72 65 6c 65 61 73 | 1984 pr|e-releas|
|00004410| 65 00 00 00 00 f2 00 09 | 00 25 c3 76 65 72 73 69 |e.......|.%.versi|
|00004420| 6f 6e 20 6f 66 20 74 68 | 65 20 61 73 73 65 6d 62 |on of th|e assemb|
|00004430| 6c 65 72 2f 65 64 69 74 | 6f 72 20 fe 00 2c 2e 00 |ler/edit|or ..,..|
|00004440| 00 00 01 08 00 c7 00 07 | c4 45 44 49 54 4f 52 00 |........|.EDITOR.|
|00004450| 00 00 01 19 00 24 00 46 | c3 54 68 65 20 65 64 69 |.....$.F|.The edi|
|00004460| 74 6f 72 20 69 73 20 6e | 69 63 65 6c 79 20 69 6e |tor is n|icely in|
|00004470| 74 65 67 72 61 74 65 64 | 20 77 69 74 68 20 74 68 |tegrated| with th|
|00004480| 65 20 77 68 6f 6c 65 20 | fd 00 2c 61 6e 64 20 70 |e whole |..,and p|
|00004490| 72 6f 76 69 64 65 73 20 | 61 20 76 65 72 79 00 00 |rovides |a very..|
|000044a0| 01 25 00 09 00 57 c3 66 | 6c 65 78 69 62 6c 65 20 |.%...W.f|lexible |
|000044b0| 74 6f 6f 6c 20 66 6f 72 | 20 65 78 61 6d 69 6e 69 |tool for| examini|
|000044c0| 6e 67 20 61 6e 64 20 6d | 6f 64 69 66 79 69 6e 67 |ng and m|odifying|
|000044d0| 20 61 6e 79 20 74 65 78 | 74 20 66 69 6c 65 2c 20 | any tex|t file, |
|000044e0| 69 6e 63 6c 75 64 69 6e | 67 20 42 41 53 49 43 2c |includin|g BASIC,|
|000044f0| 20 4d 61 63 57 72 69 74 | 65 20 61 6e 64 00 00 00 | MacWrit|e and...|
|00004500| 01 31 00 09 00 54 c3 43 | 20 61 73 20 77 65 6c 6c |.1...T.C| as well|
|00004510| 20 61 73 20 61 73 73 65 | 6d 62 6c 79 20 73 6f 75 | as asse|mbly sou|
|00004520| 72 63 65 20 fe 00 1a 2e | 20 54 68 65 20 65 64 69 |rce ....| The edi|
|00004530| 74 6f 72 20 69 73 20 66 | 75 6c 6c 79 20 64 69 73 |tor is f|ully dis|
|00004540| 6b 2d 62 61 73 65 64 2c | 20 66 61 73 74 2c 20 61 |k-based,| fast, a|
|00004550| 6e 64 20 6f 75 74 70 75 | 74 73 00 00 01 3d 00 09 |nd outpu|ts...=..|
|00004560| 00 4e c3 74 65 78 74 20 | fd 00 1a 74 68 61 74 20 |.N.text |...that |
|00004570| 63 61 6e 20 62 65 20 72 | 65 61 64 20 64 69 72 65 |can be r|ead dire|
|00004580| 63 74 6c 79 20 62 79 20 | 4d 61 63 57 72 69 74 65 |ctly by |MacWrite|
|00004590| 2e 20 4f 66 20 63 6f 75 | 72 73 65 2c 20 69 74 20 |. Of cou|rse, it |
|000045a0| 64 6f 65 73 20 6e 6f 74 | 20 70 72 6f 76 69 64 65 |does not| provide|
|000045b0| 00 00 01 49 00 09 00 55 | c3 66 6f 72 6d 61 74 74 |...I...U|.formatt|
|000045c0| 69 6e 67 20 63 61 70 61 | 62 69 6c 69 74 79 20 66 |ing capa|bility f|
|000045d0| 6f 72 20 77 6f 72 64 20 | 70 72 6f 63 65 73 73 69 |or word |processi|
|000045e0| 6e 67 20 61 73 20 4d 61 | 63 57 72 69 74 65 20 64 |ng as Ma|cWrite d|
|000045f0| 6f 65 73 2c 20 62 75 74 | 20 69 74 20 69 73 20 76 |oes, but| it is v|
|00004600| 65 72 79 20 65 66 66 69 | 63 69 65 6e 74 00 00 00 |ery effi|cient...|
|00004610| 01 55 00 09 00 5c c3 66 | 6f 72 20 73 6f 75 72 63 |.U...\.f|or sourc|
|00004620| 65 20 63 6f 64 65 20 65 | 64 69 74 69 6e 67 2c 20 |e code e|diting, |
|00004630| 6f 72 20 66 6f 72 20 65 | 78 61 6d 69 6e 69 6e 67 |or for e|xamining|
|00004640| 20 20 61 6e 79 20 74 65 | 78 74 20 66 69 6c 65 3b | any te|xt file;|
|00004650| 20 69 6e 20 74 68 69 73 | 20 72 65 67 61 72 64 2c | in this| regard,|
|00004660| 20 69 74 20 69 73 20 74 | 68 65 20 63 6c 6f 73 65 | it is t|he close|
|00004670| 73 74 00 00 01 61 00 09 | 00 36 c3 74 68 69 6e 67 |st...a..|.6.thing|
|00004680| 20 77 65 20 68 61 76 65 | 20 74 6f 20 61 20 75 6e | we have| to a un|
|00004690| 69 76 65 72 73 61 6c 20 | 65 64 69 74 6f 72 20 6f |iversal |editor o|
|000046a0| 6e 20 74 68 65 20 4d 61 | 63 69 6e 74 6f 73 68 2e |n the Ma|cintosh.|
|000046b0| 00 00 01 77 00 b5 00 0d | c4 45 44 49 54 4f 52 20 |...w....|.EDITOR |
|000046c0| 46 49 4c 45 53 00 00 00 | 01 88 00 24 00 4b c3 41 |FILES...|...$.K.A|
|000046d0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 74 65 78 74 20 | number |of text |
|000046e0| fd 00 1a 61 72 65 20 fe | 00 0c 64 20 62 79 20 74 |...are .|..d by t|
|000046f0| 68 65 20 65 64 69 74 6f | 72 2c 20 61 73 20 73 68 |he edito|r, as sh|
|00004700| 6f 77 6e 20 69 6e 20 46 | 69 67 2e 20 31 2e 20 54 |own in F|ig. 1. T|
|00004710| 68 65 73 65 20 61 72 65 | 3a 00 00 00 01 a0 00 24 |hese are|:......$|
|00004720| 00 21 c3 2e 61 73 6d 8e | 41 73 73 65 6d 62 6c 65 |.!..asm.|Assemble|
|00004730| 72 20 73 6f 75 72 63 65 | 20 66 69 6c 65 20 69 6e |r source| file in|
|00004740| 70 75 74 00 00 00 01 ac | 00 24 00 1f c3 2e fe 00 |put.....|.$......|
|00004750| 1a 8b 4c 69 73 74 20 6f | 66 20 73 6f 75 72 63 65 |..List o|f source|
|00004760| 20 66 69 6c 65 20 6e 61 | 6d 65 73 00 00 00 01 b8 | file na|mes.....|
|00004770| 00 24 00 20 c3 2e 6c 69 | 6e 6b 8d 4c 69 6e 6b 65 |.$. ..li|nk.Linke|
|00004780| 72 20 69 6e 70 75 74 20 | 69 6e 73 74 72 75 63 74 |r input |instruct|
|00004790| 69 6f 6e 73 00 00 01 c4 | 00 24 00 1a c3 2e 6a 6f |ions....|.$....jo|
|000047a0| 62 91 45 78 65 63 20 74 | 79 70 65 20 69 6e 70 75 |b.Exec t|ype inpu|
|000047b0| 74 20 66 69 6c 65 00 00 | 01 d0 00 24 00 17 c3 2e |t file..|...$....|
|000047c0| 52 9a fb 00 28 6d 61 6b | 65 72 20 69 6e 70 75 74 |R...(mak|er input|
|000047d0| 20 66 69 6c 65 00 00 00 | 01 e8 00 24 00 52 c3 45 | file...|...$.R.E|
|000047e0| 61 63 68 20 6f 66 20 74 | 68 65 73 65 20 66 69 6c |ach of t|hese fil|
|000047f0| 65 20 65 78 74 65 6e 73 | 69 6f 6e 73 20 69 6e 64 |e extens|ions ind|
|00004800| 69 63 61 74 65 73 20 61 | 20 64 69 66 66 65 72 65 |icates a| differe|
|00004810| 6e 74 20 74 79 70 65 20 | 6f 66 20 74 65 78 74 20 |nt type |of text |
|00004820| 66 69 6c 65 20 fe 00 0c | 64 20 62 79 20 74 68 65 |file ...|d by the|
|00004830| 00 00 01 f4 00 09 00 52 | c3 65 64 69 74 6f 72 20 |.......R|.editor |
|00004840| 66 6f 72 20 75 73 65 20 | 77 69 74 68 20 74 68 65 |for use |with the|
|00004850| 20 6f 74 68 65 72 20 64 | 65 76 65 6c 6f 70 6d 65 | other d|evelopme|
|00004860| 6e 74 20 fd 00 2c 74 6f | 6f 6c 73 2e 20 54 68 65 |nt ..,to|ols. The|
|00004870| 20 ff d4 2e fe 00 1a ff | d5 20 74 79 70 65 20 69 | .......|. type i|
|00004880| 73 20 73 69 6d 70 6c 79 | 20 61 00 00 02 00 00 09 |s simply| a......|
|00004890| 00 58 c3 66 69 6c 65 20 | 63 6f 6e 74 61 69 6e 69 |.X.file |containi|
|000048a0| 6e 67 20 61 20 6c 69 73 | 74 20 6f 66 20 61 73 73 |ng a lis|t of ass|
|000048b0| 65 6d 62 6c 79 20 73 6f | 75 72 63 65 20 63 6f 64 |embly so|urce cod|
|000048c0| 65 20 66 69 6c 65 20 6e | 61 6d 65 73 2e 20 54 68 |e file n|ames. Th|
|000048d0| 69 73 20 61 6c 6c 6f 77 | 73 20 61 20 62 61 74 63 |is allow|s a batc|
|000048e0| 68 20 6f 66 20 fd 00 1a | 74 6f 00 00 02 0c 00 09 |h of ...|to......|
|000048f0| 00 59 c3 62 65 20 61 73 | 73 65 6d 62 6c 65 64 20 |.Y.be as|sembled |
|00004900| 61 74 20 6f 6e 65 20 74 | 69 6d 65 2e 20 54 68 65 |at one t|ime. The|
|00004910| 20 ff d4 2e 6a 6f 62 ff | d5 20 74 79 70 65 20 69 | ...job.|. type i|
|00004920| 73 20 73 69 6d 69 6c 61 | 72 20 74 6f 20 74 68 65 |s simila|r to the|
|00004930| 20 6f 6c 64 20 45 58 45 | 43 20 66 69 6c 65 20 6f | old EXE|C file o|
|00004940| 6e 20 74 68 65 20 fb 00 | 03 49 49 00 00 00 02 18 |n the ..|.II.....|
|00004950| 00 09 00 5a c3 69 6e 20 | 74 68 61 74 20 69 74 20 |...Z.in |that it |
|00004960| 69 73 20 61 20 6c 69 73 | 74 20 6f 66 20 61 73 73 |is a lis|t of ass|
|00004970| 65 6d 62 6c 79 20 61 6e | 64 20 6c 69 6e 6b 20 63 |embly an|d link c|
|00004980| 6f 6d 6d 61 6e 64 73 20 | 74 68 61 74 20 61 72 65 |ommands |that are|
|00004990| 20 65 78 65 63 75 74 65 | 64 20 6f 6e 65 20 61 66 | execute|d one af|
|000049a0| 74 65 72 20 61 6e 6f 74 | 68 65 72 20 61 73 00 00 |ter anot|her as..|
|000049b0| 02 24 00 09 00 5c c3 69 | 66 20 74 68 65 79 20 77 |.$...\.i|f they w|
|000049c0| 65 72 65 20 73 65 6c 65 | 63 74 65 64 20 77 69 74 |ere sele|cted wit|
|000049d0| 68 20 74 68 65 20 6d 6f | 75 73 65 2e 20 54 68 65 |h the mo|use. The|
|000049e0| 20 ff d4 2e 52 ff d5 20 | 74 79 70 65 20 66 69 6c | ...R.. |type fil|
|000049f0| 65 20 69 73 20 75 6e 69 | 71 75 65 20 74 6f 20 74 |e is uni|que to t|
|00004a00| 68 65 20 4d 61 63 69 6e | 74 6f 73 68 2e 20 54 68 |he Macin|tosh. Th|
|00004a10| 69 73 00 00 02 30 00 09 | 00 52 c3 69 73 20 61 20 |is...0..|.R.is a |
|00004a20| 74 65 78 74 20 66 69 6c | 65 20 6f 66 20 fd 00 28 |text fil|e of ..(|
|00004a30| 64 65 73 63 72 69 70 74 | 69 6f 6e 73 20 74 68 61 |descript|ions tha|
|00004a40| 74 20 61 72 65 20 63 6f | 6d 70 69 6c 65 64 20 69 |t are co|mpiled i|
|00004a50| 6e 74 6f 20 61 20 62 69 | 6e 61 72 79 20 66 6f 72 |nto a bi|nary for|
|00004a60| 6d 61 74 20 74 68 61 74 | 20 63 61 6e 00 00 02 3c |mat that| can...<|
|00004a70| 00 09 00 41 c3 62 65 20 | 69 6e 73 65 72 74 65 64 |...A.be |inserted|
|00004a80| 20 69 6e 74 6f 20 74 68 | 65 20 fd 00 2c fd 00 28 | into th|e ..,..(|
|00004a90| 66 69 6c 65 20 6f 72 20 | 61 6e 20 fd 00 02 fe 00 |file or |an .....|
|00004aa0| 28 2e 20 54 68 65 20 ff | d4 2e 6c 69 6e 6b ff d5 |(. The .|..link..|
|00004ab0| 20 74 79 70 65 00 00 00 | 02 48 00 09 00 52 c3 70 | type...|.H...R.p|
|00004ac0| 72 6f 76 69 64 65 73 20 | 61 20 6c 69 73 74 20 6f |rovides |a list o|
|00004ad0| 66 20 6c 69 6e 6b 65 72 | 20 69 6e 73 74 72 75 63 |f linker| instruc|
|00004ae0| 74 69 6f 6e 73 20 74 6f | 20 74 65 6c 6c 20 74 68 |tions to| tell th|
|00004af0| 65 20 6c 69 6e 6b 65 72 | 20 68 6f 77 20 74 6f 20 |e linker| how to |
|00004b00| fd 00 0c 61 20 73 74 61 | 6e 64 2d 61 6c 6f 6e 65 |...a sta|nd-alone|
|00004b10| 00 00 02 54 00 09 00 31 | c3 fd 00 02 66 72 6f 6d |...T...1|....from|
|00004b20| 20 74 68 65 20 72 65 6c | 6f 63 61 74 61 62 6c 65 | the rel|ocatable|
|00004b30| 20 6f 75 74 70 75 74 20 | 6f 66 20 74 68 65 20 61 | output |of the a|
|00004b40| 73 73 65 6d 62 6c 65 72 | 2e 00 00 00 04 37 00 59 |ssembler|.....7.Y|
|00004b50| 00 06 c3 f0 00 85 01 01 | 00 00 04 57 00 ba 00 0a |........|...W....|
|00004b60| c4 41 53 53 45 4d 42 4c | 45 52 00 00 04 68 00 24 |.ASSEMBL|ER...h.$|
|00004b70| 00 46 c3 54 68 65 20 61 | 73 73 65 6d 62 6c 65 72 |.F.The a|ssembler|
|00004b80| 20 74 61 6b 65 73 20 74 | 65 78 74 20 fd 00 1a 77 | takes t|ext ...w|
|00004b90| 69 74 68 20 74 68 65 20 | 20 ff d4 2e 61 73 6d ff |ith the | ...asm.|
|00004ba0| d5 20 65 78 74 65 6e 73 | 69 6f 6e 20 61 6e 64 20 |. extens|ion and |
|00004bb0| 70 72 6f 64 75 63 65 73 | 00 00 04 74 00 09 00 56 |produces|...t...V|
|00004bc0| c3 72 65 6c 6f 63 61 74 | 61 62 6c 65 20 63 6f 64 |.relocat|able cod|
|00004bd0| 65 20 fd 00 1a 77 69 74 | 68 20 74 68 65 20 ff d4 |e ...wit|h the ..|
|00004be0| 2e 72 65 6c ff d5 20 65 | 78 74 65 6e 73 69 6f 6e |.rel.. e|xtension|
|00004bf0| 2e 20 54 68 65 73 65 20 | fd 00 1a 61 72 65 20 6e |. These |...are n|
|00004c00| 6f 74 20 72 75 6e 61 62 | 6c 65 20 68 6f 77 65 76 |ot runab|le howev|
|00004c10| 65 72 2e 20 54 6f 00 00 | 04 80 00 09 00 51 c3 62 |er. To..|.....Q.b|
|00004c20| 65 20 72 75 6e 61 62 6c | 65 2c 20 74 68 65 79 20 |e runabl|e, they |
|00004c30| 6d 75 73 74 20 66 69 72 | 73 74 20 62 65 20 6c 69 |must fir|st be li|
|00004c40| 6e 6b 65 64 20 74 6f 67 | 65 74 68 65 72 20 77 69 |nked tog|ether wi|
|00004c50| 74 68 20 74 68 65 20 6c | 69 6e 6b 65 72 2e 20 4f |th the l|inker. O|
|00004c60| 74 68 65 72 20 fd 00 1a | fe 00 0c 64 20 62 79 00 |ther ...|...d by.|
|00004c70| 00 00 04 8c 00 09 00 53 | c3 74 68 65 20 61 73 73 |.......S|.the ass|
|00004c80| 65 6d 62 6c 65 72 20 69 | 6e 63 6c 75 64 65 20 74 |embler i|nclude t|
|00004c90| 68 65 20 fd 00 21 66 69 | 6c 65 20 61 6e 64 20 61 |he ..!fi|le and a|
|00004ca0| 6e 20 65 72 72 6f 72 20 | 66 69 6c 65 2e 20 20 20 |n error |file. |
|00004cb0| 4f 6e 65 20 6e 6f 6e 2d | 73 74 61 6e 64 61 72 64 |One non-|standard|
|00004cc0| 20 66 65 61 74 75 72 65 | 20 69 73 00 00 00 04 98 | feature| is.....|
|00004cd0| 00 09 00 56 c3 74 68 65 | 20 64 69 72 65 63 74 69 |...V.the| directi|
|00004ce0| 76 65 20 ff d4 2e 64 75 | 6d 70 ff d5 20 74 68 61 |ve ...du|mp.. tha|
|00004cf0| 74 20 fe 00 0c 73 20 61 | 20 73 79 6d 62 6f 6c 20 |t ...s a| symbol |
|00004d00| 74 61 62 6c 65 20 66 69 | 6c 65 20 66 72 6f 6d 20 |table fi|le from |
|00004d10| 65 71 75 61 74 65 20 fe | 00 1a 2e 20 54 68 65 20 |equate .|... The |
|00004d20| 70 75 72 70 6f 73 65 20 | 6f 66 00 00 04 a4 00 09 |purpose |of......|
|00004d30| 00 50 c3 74 68 69 73 20 | 69 73 20 74 6f 20 61 6c |.P.this |is to al|
|00004d40| 6c 6f 77 20 61 20 6d 65 | 74 68 6f 64 20 6f 66 20 |low a me|thod of |
|00004d50| 63 6f 6d 70 61 63 74 69 | 6e 67 20 74 68 65 20 68 |compacti|ng the h|
|00004d60| 75 67 65 20 6c 69 62 72 | 61 72 79 20 6f 66 20 fd |uge libr|ary of .|
|00004d70| 00 2c 65 71 75 61 74 65 | 73 20 74 68 61 74 20 fc |.,equate|s that .|
|00004d80| 00 03 00 00 04 b0 00 09 | 00 53 c3 68 61 73 20 fe |........|.S.has .|
|00004d90| 00 0c 64 20 61 73 20 70 | 61 72 74 20 6f 66 20 74 |..d as p|art of t|
|00004da0| 68 65 20 4d 61 63 69 6e | 74 6f 73 68 20 64 65 76 |he Macin|tosh dev|
|00004db0| 65 6c 6f 70 6d 65 6e 74 | 20 65 66 66 6f 72 74 20 |elopment| effort |
|00004dc0| 6f 6e 20 74 68 65 20 4c | 69 73 61 2e 20 54 68 65 |on the L|isa. The|
|00004dd0| 73 65 20 fd 00 1a 74 61 | 6b 65 20 75 70 00 00 00 |se ...ta|ke up...|
|00004de0| 04 bc 00 09 00 5b c3 61 | 20 63 6f 6e 73 69 64 65 |.....[.a| conside|
|00004df0| 72 61 62 6c 65 20 61 6d | 6f 75 6e 74 20 6f 66 20 |rable am|ount of |
|00004e00| 72 6f 6f 6d 2e 20 42 75 | 74 20 77 69 74 68 20 74 |room. Bu|t with t|
|00004e10| 68 65 20 ff d4 2e 64 75 | 6d 70 ff d5 20 64 69 72 |he ...du|mp.. dir|
|00004e20| 65 63 74 69 76 65 2c 20 | 61 6e 64 20 61 20 75 74 |ective, |and a ut|
|00004e30| 69 6c 69 74 79 20 74 6f | 20 70 61 63 6b 20 74 68 |ility to| pack th|
|00004e40| 65 00 00 00 04 c8 00 09 | 00 3f c3 73 79 6d 62 6f |e.......|.?.symbo|
|00004e50| 6c 73 20 66 69 6c 65 20 | 63 61 6c 6c 65 64 20 50 |ls file |called P|
|00004e60| 61 63 6b 53 79 6d 2c 20 | 74 68 69 73 20 6f 76 65 |ackSym, |this ove|
|00004e70| 72 68 65 61 64 20 69 73 | 20 67 72 65 61 74 6c 79 |rhead is| greatly|
|00004e80| 20 72 65 64 75 63 65 64 | 2e 00 00 00 04 de 00 c7 | reduced|........|
|00004e90| 00 07 c4 4c 49 4e 4b 45 | 52 00 00 00 04 ef 00 24 |...LINKE|R......$|
|00004ea0| 00 49 c3 54 68 65 20 6c | 69 6e 6b 65 72 20 69 73 |.I.The l|inker is|
|00004eb0| 20 74 68 65 20 68 65 61 | 72 74 20 6f 66 20 74 68 | the hea|rt of th|
|00004ec0| 65 20 64 65 76 65 6c 6f | 70 6d 65 6e 74 20 fe 00 |e develo|pment ..|
|00004ed0| 2c 2e 20 49 74 20 69 73 | 20 77 68 61 74 20 61 63 |,. It is| what ac|
|00004ee0| 74 75 61 6c 6c 79 20 70 | 75 74 73 00 00 00 04 fb |tually p|uts.....|
|00004ef0| 00 09 00 4a c3 74 6f 67 | 65 74 68 65 72 20 61 6e |...J.tog|ether an|
|00004f00| 20 fd 00 02 70 72 6f 67 | 72 61 6d 20 66 6f 72 20 | ...prog|ram for |
|00004f10| 79 6f 75 2e 20 4d 61 63 | 69 6e 74 6f 73 68 20 fd |you. Mac|intosh .|
|00004f20| 00 1a 61 72 65 20 63 6f | 6d 70 6f 73 65 64 20 6f |..are co|mposed o|
|00004f30| 66 20 74 77 6f 20 73 65 | 63 74 69 6f 6e 73 00 00 |f two se|ctions..|
|00004f40| 05 07 00 09 00 44 c3 63 | 61 6c 6c 65 64 20 61 20 |.....D.c|alled a |
|00004f50| ff d2 fb 00 28 46 6f 72 | 6b ff d3 20 61 6e 64 20 |....(For|k.. and |
|00004f60| 61 20 ff d2 44 61 74 61 | 20 46 6f 72 6b ff d3 2e |a ..Data| Fork...|
|00004f70| 20 54 68 65 20 fd 00 28 | 70 61 72 74 20 6f 66 20 | The ..(|part of |
|00004f80| 61 6e 20 fd 00 02 66 69 | 6c 65 00 00 05 13 00 09 |an ...fi|le......|
|00004f90| 00 51 c3 69 6e 63 6c 75 | 64 65 73 20 69 63 6f 6e |.Q.inclu|des icon|
|00004fa0| 20 61 6e 64 20 66 6f 6e | 74 20 64 65 66 69 6e 69 | and fon|t defini|
|00004fb0| 74 69 6f 6e 73 2c 20 fd | 00 33 6d 61 6b 69 6e 67 |tions, .|.3making|
|00004fc0| 20 69 6e 73 74 72 75 63 | 74 69 6f 6e 73 20 61 6e | instruc|tions an|
|00004fd0| 64 20 74 68 65 20 61 63 | 74 75 61 6c 20 62 69 6e |d the ac|tual bin|
|00004fe0| 61 72 79 00 00 00 05 1f | 00 09 00 4c c3 63 6f 64 |ary.....|...L.cod|
|00004ff0| 65 20 6f 66 20 74 68 65 | 20 70 72 6f 67 72 61 6d |e of the| program|
|00005000| 20 69 74 73 65 6c 66 2e | 20 54 68 65 20 64 61 74 | itself.| The dat|
|00005010| 61 20 70 61 72 74 20 6f | 66 20 74 68 65 20 66 69 |a part o|f the fi|
|00005020| 6c 65 20 69 73 20 64 65 | 66 69 6e 65 64 20 62 79 |le is de|fined by|
|00005030| 20 74 68 65 20 fe 00 02 | 00 00 05 2b 00 09 00 52 | the ...|...+...R|
|00005040| c3 70 72 6f 67 72 61 6d | 20 61 6e 64 20 6e 6f 72 |.program| and nor|
|00005050| 6d 61 6c 6c 79 20 69 73 | 20 65 6d 70 74 79 20 77 |mally is| empty w|
|00005060| 68 65 6e 20 74 68 65 20 | 70 72 6f 67 72 61 6d 20 |hen the |program |
|00005070| 73 74 61 72 74 73 20 75 | 70 2e 20 54 68 65 20 20 |starts u|p. The |
|00005080| 6c 69 6e 6b 65 72 20 6b | 6e 6f 77 73 20 61 62 6f |linker k|nows abo|
|00005090| 75 74 00 00 05 37 00 09 | 00 34 c3 fd 00 28 fd 00 |ut...7..|.4...(..|
|000050a0| 1a 61 6e 64 20 68 6f 77 | 20 74 6f 20 70 61 63 6b |.and how| to pack|
|000050b0| 20 74 68 65 20 63 6f 64 | 65 20 69 6e 74 6f 20 74 | the cod|e into t|
|000050c0| 68 65 20 fd 00 02 fd 00 | 28 66 6f 72 6b 2e 00 00 |he .....|(fork...|
|000050d0| 05 43 00 24 00 4e c3 41 | 20 6e 75 6d 62 65 72 20 |.C.$.N.A| number |
|000050e0| 6f 66 20 69 6d 70 6f 72 | 74 61 6e 74 20 6d 65 6d |of impor|tant mem|
|000050f0| 6f 72 79 20 63 6f 6e 73 | 69 64 65 72 61 74 69 6f |ory cons|ideratio|
|00005100| 6e 73 20 69 6e 76 6f 6c | 76 65 20 74 68 65 20 6c |ns invol|ve the l|
|00005110| 69 6e 6b 65 72 2e 20 4d | 61 63 69 6e 74 6f 73 68 |inker. M|acintosh|
|00005120| 20 68 61 73 00 00 05 4f | 00 09 00 4c c3 61 20 6d | has...O|...L.a m|
|00005130| 65 6d 6f 72 79 20 fd 00 | 24 61 6e 64 20 73 65 67 |emory ..|$and seg|
|00005140| 6d 65 6e 74 20 6c 6f 61 | 64 65 72 20 74 68 61 74 |ment loa|der that|
|00005150| 20 63 6f 6e 74 72 6f 6c | 20 77 68 65 72 65 20 69 | control| where i|
|00005160| 6e 20 6d 65 6d 6f 72 79 | 20 64 69 66 66 65 72 65 |n memory| differe|
|00005170| 6e 74 20 70 61 72 74 73 | 00 00 05 5b 00 09 00 4e |nt parts|...[...N|
|00005180| c3 6f 66 20 61 6e 20 fd | 00 02 70 72 6f 67 72 61 |.of an .|..progra|
|00005190| 6d 20 73 68 6f 75 6c 64 | 20 62 65 20 70 6c 61 63 |m should| be plac|
|000051a0| 65 64 2e 20 44 61 74 61 | 20 73 74 72 75 63 74 75 |ed. Data| structu|
|000051b0| 72 65 73 20 64 65 66 69 | 6e 65 64 20 69 6e 20 74 |res defi|ned in t|
|000051c0| 68 65 20 73 6f 75 72 63 | 65 20 63 6f 64 65 00 00 |he sourc|e code..|
|000051d0| 05 67 00 09 00 50 c3 62 | 79 20 75 73 65 20 6f 66 |.g...P.b|y use of|
|000051e0| 20 74 68 65 20 ff d2 44 | 43 ff d3 20 64 69 72 65 | the ..D|C.. dire|
|000051f0| 63 74 69 76 65 20 61 72 | 65 20 73 74 6f 72 65 64 |ctive ar|e stored|
|00005200| 20 6f 6e 20 74 68 65 20 | fd 00 02 68 65 61 70 20 | on the |...heap |
|00005210| 61 6c 6f 6e 67 20 77 69 | 74 68 20 74 68 65 20 70 |along wi|th the p|
|00005220| 72 6f 67 72 61 6d 00 00 | 05 73 00 09 00 58 c3 63 |rogram..|.s...X.c|
|00005230| 6f 64 65 20 69 6e 20 73 | 65 67 6d 65 6e 74 73 2e |ode in s|egments.|
|00005240| 20 56 61 72 69 61 62 6c | 65 20 73 74 6f 72 61 67 | Variabl|e storag|
|00005250| 65 20 64 65 66 69 6e 65 | 64 20 62 79 20 74 68 65 |e define|d by the|
|00005260| 20 ff d2 44 53 ff d3 20 | 64 69 72 65 63 74 69 76 | ..DS.. |directiv|
|00005270| 65 20 61 72 65 20 72 65 | 6c 6f 63 61 74 65 64 20 |e are re|located |
|00005280| 62 79 20 74 68 65 00 00 | 05 7f 00 09 00 55 c3 6c |by the..|.....U.l|
|00005290| 69 6e 6b 65 72 20 61 6e | 64 20 73 74 6f 72 65 64 |inker an|d stored|
|000052a0| 20 69 6e 20 61 6e 20 61 | 70 70 6c 63 61 74 69 6f | in an a|pplcatio|
|000052b0| 6e 73 20 67 6c 6f 62 61 | 6c 73 20 61 72 65 61 20 |ns globa|ls area |
|000052c0| fd 00 34 69 73 20 72 65 | 66 65 72 65 6e 63 65 64 |..4is re|ferenced|
|000052d0| 20 74 6f 20 72 65 67 69 | 73 74 65 72 20 41 35 2c | to regi|ster A5,|
|000052e0| 20 61 73 00 00 00 05 8b | 00 09 00 52 c3 73 68 6f | as.....|...R.sho|
|000052f0| 77 6e 20 69 6e 20 46 69 | 67 2e 20 32 2e 20 54 68 |wn in Fi|g. 2. Th|
|00005300| 65 20 73 74 61 72 74 20 | 6f 66 20 74 68 69 73 20 |e start |of this |
|00005310| fe 00 02 73 20 67 6c 6f | 62 61 6c 73 20 61 72 65 |...s glo|bals are|
|00005320| 61 20 20 20 69 73 20 73 | 65 74 20 69 6e 20 74 68 |a is s|et in th|
|00005330| 65 20 6c 69 6e 6b 65 72 | 20 69 6e 70 75 74 00 00 |e linker| input..|
|00005340| 05 97 00 09 00 27 c3 69 | 6e 73 74 72 75 63 74 69 |.....'.i|nstructi|
|00005350| 6f 6e 73 20 77 69 74 68 | 20 74 68 65 20 47 4c 4f |ons with| the GLO|
|00005360| 42 41 4c 53 20 63 6f 6d | 6d 61 6e 64 2e 00 00 00 |BALS com|mand....|
|00005370| 06 91 00 78 00 06 c3 f0 | 00 86 00 c4 00 00 06 a7 |...x....|........|
|00005380| 00 24 00 4a c3 54 68 65 | 20 6c 69 6e 6b 65 72 20 |.$.J.The| linker |
|00005390| 69 6e 70 75 74 20 66 69 | 6c 65 20 64 65 66 69 6e |input fi|le defin|
|000053a0| 65 73 20 74 68 65 20 73 | 65 67 6d 65 6e 74 73 20 |es the s|egments |
|000053b0| 69 6e 20 fd 00 34 74 68 | 65 20 70 72 6f 67 72 61 |in ..4th|e progra|
|000053c0| 6d 20 63 6f 64 65 20 77 | 69 6c 6c 20 62 65 00 00 |m code w|ill be..|
|000053d0| 06 b3 00 09 00 4c c3 6c | 6f 61 64 65 64 20 62 79 |.....L.l|oaded by|
|000053e0| 20 74 68 65 20 6c 69 6e | 6b 65 72 2e 20 41 66 74 | the lin|ker. Aft|
|000053f0| 65 72 20 74 68 65 20 70 | 72 6f 67 72 61 6d 20 69 |er the p|rogram i|
|00005400| 73 20 72 75 6e 6e 69 6e | 67 2c 20 74 68 65 20 73 |s runnin|g, the s|
|00005410| 65 67 6d 65 6e 74 20 fd | 00 24 63 61 6e 20 74 68 |egment .|.$can th|
|00005420| 65 6e 00 00 06 bf 00 09 | 00 53 c3 64 69 73 70 6f |en......|.S.dispo|
|00005430| 73 65 20 6f 66 20 75 6e | 75 73 65 64 20 73 65 67 |se of un|used seg|
|00005440| 6d 65 6e 74 73 2e 20 54 | 68 65 20 6d 61 6e 6e 65 |ments. T|he manne|
|00005450| 72 20 69 6e 20 fd 00 34 | 74 68 65 20 6c 69 6e 6b |r in ..4|the link|
|00005460| 65 72 20 69 6e 70 75 74 | 20 66 69 6c 65 20 69 73 |er input| file is|
|00005470| 20 70 75 74 20 74 6f 67 | 65 74 68 65 72 00 00 00 | put tog|ether...|
|00005480| 06 cb 00 09 00 4d c3 64 | 65 74 65 72 6d 69 6e 65 |.....M.d|etermine|
|00005490| 73 20 fd 00 34 63 6f 64 | 65 20 fd 00 1a 61 72 65 |s ..4cod|e ...are|
|000054a0| 20 61 73 73 6f 63 69 61 | 74 65 64 20 77 69 74 68 | associa|ted with|
|000054b0| 20 fd 00 34 73 65 67 6d | 65 6e 74 2e 20 54 68 65 | ..4segm|ent. The|
|000054c0| 20 6c 69 6e 6b 65 72 20 | 61 6c 73 6f 20 61 6c 6c | linker |also all|
|000054d0| 6f 77 73 00 00 00 06 d7 | 00 09 00 45 c3 70 72 65 |ows.....|...E.pre|
|000054e0| 63 6f 6d 70 69 6c 65 64 | 20 fd 00 28 fd 00 1a 61 |compiled| ..(...a|
|000054f0| 6e 64 20 70 72 65 64 65 | 66 69 6e 65 64 20 64 61 |nd prede|fined da|
|00005500| 74 61 20 fd 00 1a 74 6f | 20 62 65 20 6c 69 6e 6b |ta ...to| be link|
|00005510| 65 64 20 74 6f 20 74 68 | 65 20 fd 00 02 63 6f 64 |ed to th|e ...cod|
|00005520| 65 00 00 00 06 e3 00 09 | 00 4b c3 61 73 20 77 65 |e.......|.K.as we|
|00005530| 6c 6c 2e 20 54 68 69 73 | 20 61 6c 6c 6f 77 73 20 |ll. This| allows |
|00005540| 61 6c 6c 20 74 68 65 20 | fe 00 1a 2c 20 62 6f 74 |all the |..., bot|
|00005550| 68 20 fd 00 28 61 6e 64 | 20 64 61 74 61 2c 20 74 |h ..(and| data, t|
|00005560| 68 61 74 20 61 72 65 20 | 72 65 71 75 69 72 65 64 |hat are |required|
|00005570| 20 62 79 20 61 00 00 00 | 06 ef 00 09 00 49 c3 70 | by a...|.....I.p|
|00005580| 72 6f 67 72 61 6d 20 74 | 6f 20 62 65 20 6c 69 6e |rogram t|o be lin|
|00005590| 6b 65 64 20 74 6f 67 65 | 74 68 65 72 20 69 6e 74 |ked toge|ther int|
|000055a0| 6f 20 74 68 65 20 fd 00 | 28 66 6f 72 6b 20 61 6e |o the ..|(fork an|
|000055b0| 64 20 64 61 74 61 20 66 | 6f 72 6b 20 6f 66 20 74 |d data f|ork of t|
|000055c0| 68 65 20 fe 00 02 2e 00 | 00 00 06 fb 00 09 00 5a |he .....|.......Z|
|000055d0| c3 49 6e 20 74 68 69 73 | 20 6d 61 6e 6e 65 72 2c |.In this| manner,|
|000055e0| 20 74 68 65 20 75 73 65 | 72 20 73 65 65 73 20 6f | the use|r sees o|
|000055f0| 6e 6c 79 20 61 20 73 69 | 6e 67 6c 65 20 66 69 6c |nly a si|ngle fil|
|00005600| 65 20 6f 6e 20 74 68 65 | 20 64 69 73 6b 3b 20 61 |e on the| disk; a|
|00005610| 20 66 69 6c 65 20 74 68 | 61 74 20 69 6e 20 61 63 | file th|at in ac|
|00005620| 74 75 61 6c 69 74 79 20 | 69 73 00 00 07 07 00 09 |tuality |is......|
|00005630| 00 50 c3 63 6f 6d 70 6f | 73 65 64 20 6f 66 20 73 |.P.compo|sed of s|
|00005640| 65 76 65 72 61 6c 20 fe | 00 1a 2e 20 54 68 65 20 |everal .|... The |
|00005650| fd 00 2c 66 69 6c 65 20 | 69 73 20 61 6e 20 65 78 |..,file |is an ex|
|00005660| 61 6d 70 6c 65 20 6f 66 | 20 61 20 73 69 6e 67 6c |ample of| a singl|
|00005670| 65 20 66 69 6c 65 20 63 | 6f 6d 70 6f 73 65 64 20 |e file c|omposed |
|00005680| 6f 66 00 00 07 13 00 09 | 00 0c c3 6d 61 6e 79 20 |of......|...many |
|00005690| 70 61 72 74 73 2e 00 00 | 07 29 00 a9 00 10 c4 47 |parts...|.).....G|
|000056a0| 45 54 54 49 4e 47 20 53 | 54 41 52 54 45 44 00 00 |ETTING S|TARTED..|
|000056b0| 07 3a 00 24 00 4a c3 49 | 6e 20 74 68 69 73 20 6d |.:.$.J.I|n this m|
|000056c0| 6f 6e 74 68 ff d5 73 20 | 63 6f 6c 75 6d 6e 2c 20 |onth..s |column, |
|000056d0| 77 65 20 67 65 74 20 6f | 75 72 20 66 65 65 74 20 |we get o|ur feet |
|000056e0| 77 65 74 20 77 69 74 68 | 20 61 20 70 72 6f 67 72 |wet with| a progr|
|000056f0| 61 6d 20 74 6f 20 fd 00 | 0c 61 20 fd 00 33 6f 6e |am to ..|.a ..3on|
|00005700| 00 00 07 46 00 09 00 55 | c3 74 68 65 20 4d 61 63 |...F...U|.the Mac|
|00005710| 69 6e 74 6f 73 68 2e 20 | 53 69 6e 63 65 20 6f 75 |intosh. |Since ou|
|00005720| 72 20 70 72 6f 67 72 61 | 6d 20 77 69 6c 6c 20 63 |r progra|m will c|
|00005730| 61 6c 6c 20 61 20 6e 75 | 6d 62 65 72 20 6f 66 20 |all a nu|mber of |
|00005740| 74 6f 6f 6c 62 6f 78 20 | 72 6f 75 74 69 6e 65 73 |toolbox |routines|
|00005750| 2c 20 61 20 66 65 77 20 | 77 6f 72 64 73 00 00 00 |, a few |words...|
|00005760| 07 52 00 09 00 56 c3 61 | 62 6f 75 74 20 6d 61 63 |.R...V.a|bout mac|
|00005770| 72 6f 73 20 61 72 65 20 | 69 6e 20 6f 72 64 65 72 |ros are |in order|
|00005780| 2e 20 54 68 65 20 4d 61 | 63 69 6e 74 6f 73 68 20 |. The Ma|cintosh |
|00005790| 61 73 73 65 6d 62 6c 65 | 72 20 75 73 65 73 20 62 |assemble|r uses b|
|000057a0| 6f 74 68 20 61 20 4c 69 | 73 61 20 74 79 70 65 20 |oth a Li|sa type |
|000057b0| 6f 66 20 6d 61 63 72 6f | 20 61 6e 64 00 00 07 5e |of macro| and...^|
|000057c0| 00 09 00 56 c3 61 20 73 | 74 79 6c 65 20 75 6e 69 |...V.a s|tyle uni|
|000057d0| 71 75 65 20 74 6f 20 74 | 68 65 20 4d 61 63 2e 20 |que to t|he Mac. |
|000057e0| 54 68 65 20 4d 61 63 20 | 73 74 79 6c 65 20 69 73 |The Mac |style is|
|000057f0| 20 64 65 6c 69 6d 69 74 | 61 74 65 64 20 62 79 20 | delimit|ated by |
|00005800| 74 68 65 20 77 6f 72 64 | 20 4d 41 43 52 4f 20 66 |the word| MACRO f|
|00005810| 6f 6c 6c 6f 77 65 64 20 | 62 79 00 00 07 6a 00 09 |ollowed |by...j..|
|00005820| 00 5b c3 74 68 65 20 6d | 61 63 72 6f 20 6e 61 6d |.[.the m|acro nam|
|00005830| 65 2c 20 61 6e 64 20 61 | 20 76 65 72 74 69 63 61 |e, and a| vertica|
|00005840| 6c 20 62 61 72 2c 20 ff | d4 7c ff d5 2c 20 74 68 |l bar, .|.|.., th|
|00005850| 61 74 20 73 69 67 6e 69 | 66 69 65 73 20 74 68 65 |at signi|fies the|
|00005860| 20 65 6e 64 20 6f 66 20 | 74 68 65 20 6d 61 63 72 | end of |the macr|
|00005870| 6f 2e 20 42 65 20 63 61 | 72 65 66 75 6c 00 00 00 |o. Be ca|reful...|
|00005880| 07 76 00 09 00 27 c3 6e | 6f 74 20 74 6f 20 63 6f |.v...'.n|ot to co|
|00005890| 6e 66 75 73 65 20 74 68 | 69 73 20 77 69 74 68 20 |nfuse th|is with |
|000058a0| 61 20 6e 75 6d 62 65 72 | 20 6f 6e 65 2e 00 00 00 |a number| one....|
|000058b0| 08 83 00 0e 00 06 c3 f0 | 00 87 01 97 00 00 08 99 |........|........|
|000058c0| 00 24 00 4e c3 4f 75 72 | 20 66 69 72 73 74 20 73 |.$.N.Our| first s|
|000058d0| 74 65 70 20 69 73 20 74 | 6f 20 64 65 66 69 6e 65 |tep is t|o define|
|000058e0| 20 74 68 65 20 74 72 61 | 70 20 6d 61 63 72 6f 73 | the tra|p macros|
|000058f0| 20 66 6f 72 20 74 68 65 | 20 74 6f 6f 6c 62 6f 78 | for the| toolbox|
|00005900| 20 61 6e 64 20 6f 70 65 | 72 61 74 69 6e 67 20 fe | and ope|rating .|
|00005910| 00 2c 00 00 08 a5 00 09 | 00 59 c3 72 6f 75 74 69 |.,......|.Y.routi|
|00005920| 6e 65 73 2e 20 54 68 69 | 73 20 69 73 20 64 6f 6e |nes. Thi|s is don|
|00005930| 65 20 62 79 20 73 65 74 | 74 69 6e 67 20 74 68 65 |e by set|ting the|
|00005940| 20 74 6f 6f 6c 62 6f 78 | 20 72 6f 75 74 69 6e 65 | toolbox| routine|
|00005950| 20 6e 61 6d 65 20 65 71 | 75 61 6c 20 74 6f 20 61 | name eq|ual to a|
|00005960| 20 74 72 61 70 20 77 6f | 72 64 20 63 6f 6e 73 74 | trap wo|rd const|
|00005970| 61 6e 74 00 00 00 08 b1 | 00 09 00 56 c3 75 73 69 |ant.....|...V.usi|
|00005980| 6e 67 20 74 68 65 20 ff | d2 44 43 2e 57 ff d3 20 |ng the .|.DC.W.. |
|00005990| 64 69 72 65 63 74 69 76 | 65 2e 20 20 41 6c 6c 20 |directiv|e. All |
|000059a0| 69 6e 74 72 75 63 74 69 | 6f 6e 73 20 66 6f 75 6e |intructi|ons foun|
|000059b0| 64 20 69 6e 20 6d 65 6d | 6f 72 79 20 74 68 61 74 |d in mem|ory that|
|000059c0| 20 62 65 67 69 6e 20 77 | 69 74 68 20 24 41 20 61 | begin w|ith $A a|
|000059d0| 72 65 00 00 08 bd 00 09 | 00 4f c3 75 6e 69 6d 70 |re......|.O.unimp|
|000059e0| 6c 65 6d 65 6e 74 65 64 | 20 69 6e 73 74 72 75 63 |lemented| instruc|
|000059f0| 74 69 6f 6e 73 20 74 68 | 61 74 20 63 61 75 73 65 |tions th|at cause|
|00005a00| 20 74 68 65 20 36 38 30 | 30 30 20 74 6f 20 ff d2 | the 680|00 to ..|
|00005a10| 74 72 61 70 ff d3 20 74 | 6f 20 61 20 fd 00 2d 72 |trap.. t|o a ..-r|
|00005a20| 6f 75 74 69 6e 65 20 74 | 6f 00 00 00 08 c9 00 09 |outine t|o.......|
|00005a30| 00 4b c3 fd 00 1b 74 68 | 65 20 65 78 63 65 70 74 |.K....th|e except|
|00005a40| 69 6f 6e 2e 20 fb 00 03 | 68 61 73 20 74 61 6b 65 |ion. ...|has take|
|00005a50| 6e 20 61 64 76 61 6e 74 | 61 67 65 20 6f 66 20 74 |n advant|age of t|
|00005a60| 68 69 73 20 61 72 72 61 | 6e 67 65 6d 65 6e 74 20 |his arra|ngement |
|00005a70| 74 6f 20 65 78 74 65 6e | 64 20 74 68 65 00 00 00 |to exten|d the...|
|00005a80| 08 d5 00 09 00 58 c3 36 | 38 30 30 30 20 69 6e 73 |.....X.6|8000 ins|
|00005a90| 74 72 75 63 74 69 6f 6e | 20 73 65 74 20 62 79 20 |truction| set by |
|00005aa0| 61 20 77 68 6f 6c 65 20 | 73 65 72 69 65 73 20 6f |a whole |series o|
|00005ab0| 66 20 74 6f 6f 6c 62 6f | 78 20 72 6f 75 74 69 6e |f toolbo|x routin|
|00005ac0| 65 73 20 74 68 61 74 20 | 61 72 65 20 63 61 6c 6c |es that |are call|
|00005ad0| 65 64 20 61 73 20 61 20 | 72 65 73 75 6c 74 00 00 |ed as a |result..|
|00005ae0| 08 e1 00 09 00 17 c3 6f | 66 20 74 68 69 73 20 ff |.......o|f this .|
|00005af0| d2 31 30 31 30 ff d3 20 | 74 72 61 70 2e 00 00 00 |.1010.. |trap....|
|00005b00| 08 f7 00 12 00 16 c8 54 | 48 45 20 4d 41 43 20 44 |.......T|HE MAC D|
|00005b10| 4f 45 53 20 57 49 4e 44 | 4f 57 53 21 00 00 09 0d |OES WIND|OWS!....|
|00005b20| 00 12 00 1b c8 3b 20 45 | 58 41 4d 50 4c 45 20 41 |.....; E|XAMPLE A|
|00005b30| 53 53 45 4d 42 4c 59 20 | 50 52 4f 47 52 41 4d 00 |SSEMBLY |PROGRAM.|
|00005b40| 00 00 09 18 00 12 00 1b | c8 3b 20 57 49 4e 44 4f |........|.; WINDO|
|00005b50| 57 53 32 2e 35 20 28 4d | 61 63 54 65 63 68 20 31 |WS2.5 (M|acTech 1|
|00005b60| 2d 31 29 00 00 00 09 23 | 00 12 00 14 c8 3b 20 56 |-1)....#|.....; V|
|00005b70| 45 52 53 49 4f 4e 20 31 | 33 20 4f 43 54 20 38 34 |ERSION 1|3 OCT 84|
|00005b80| 00 00 09 2e 00 12 00 24 | c8 3b 20 28 43 29 20 31 |.......$|.; (C) 1|
|00005b90| 39 38 34 20 4d 61 63 54 | 65 63 20 62 79 20 44 61 |984 MacT|ec by Da|
|00005ba0| 76 69 64 20 45 2e 20 53 | 6d 69 74 68 00 00 09 44 |vid E. S|mith...D|
|00005bb0| 00 12 00 24 c8 3b 20 20 | 20 20 4d 61 63 72 6f 20 |...$.; | Macro |
|00005bc0| 73 75 62 73 65 74 20 66 | 6f 72 20 54 6f 6f 6c 62 |subset f|or Toolb|
|00005bd0| 6f 78 20 73 74 75 66 66 | 00 00 09 5a 00 12 00 1f |ox stuff|...Z....|
|00005be0| c8 4d 41 43 52 4f 20 5f | 49 6e 69 74 47 72 61 66 |.MACRO _|InitGraf|
|00005bf0| 20 3d 20 96 44 43 2e 57 | 20 24 41 38 36 45 7c 00 | = .DC.W| $A86E|.|
|00005c00| 00 00 09 65 00 12 00 1e | c8 4d 41 43 52 4f 20 5f |...e....|.MACRO _|
|00005c10| 49 6e 69 74 57 69 6e 64 | 20 3d 9c 44 43 2e 57 20 |InitWind| =.DC.W |
|00005c20| 24 41 39 31 32 7c 00 00 | 09 70 00 12 00 1b c8 4d |$A912|..|.p.....M|
|00005c30| 41 43 52 4f 20 5f 4e 65 | 77 fb 00 33 3d 89 44 43 |ACRO _Ne|w..3=.DC|
|00005c40| 2e 57 20 24 41 39 31 33 | 7c 00 00 00 09 7b 00 12 |.W $A913||....{..|
|00005c50| 00 1d c8 4d 41 43 52 4f | 20 5f 73 65 74 70 6f 72 |...MACRO| _setpor|
|00005c60| 74 20 3d 95 44 43 2e 57 | 20 24 41 38 37 33 7c 00 |t =.DC.W| $A873|.|
|00005c70| 00 00 09 86 00 12 00 1e | c8 4d 41 43 52 4f 20 5f |........|.MACRO _|
|00005c80| 49 6e 69 74 46 6f 6e 74 | 20 3d 9c 44 43 2e 57 20 |InitFont| =.DC.W |
|00005c90| 24 41 38 46 45 7c 00 00 | 09 91 00 12 00 1e c8 4d |$A8FE|..|.......M|
|00005ca0| 41 43 52 4f 20 5f 49 6e | 69 74 4d 65 6e 75 20 3d |ACRO _In|itMenu =|
|00005cb0| 8f 44 43 2e 57 20 24 41 | 39 33 30 7c 00 00 09 9c |.DC.W $A|930|....|
|00005cc0| 00 12 00 1c c8 4d 41 43 | 52 4f 20 5f 49 6e 69 74 |.....MAC|RO _Init|
|00005cd0| fb 00 10 3d 90 44 43 2e | 57 20 24 41 39 37 42 7c |...=.DC.|W $A97B||
|00005ce0| 00 00 09 a7 00 12 00 1e | c8 4d 41 43 52 4f 20 5f |........|.MACRO _|
|00005cf0| 54 45 49 6e 69 74 20 20 | 20 3d 9c 44 43 2e 57 20 |TEInit | =.DC.W |
|00005d00| 24 41 39 43 43 7c 00 00 | 09 b2 00 12 00 25 c8 4d |$A9CC|..|.....%.M|
|00005d10| 41 43 52 4f 20 5f 49 6e | 69 74 70 61 63 6b 20 3d |ACRO _In|itpack =|
|00005d20| 20 20 20 20 20 20 20 8d | 44 43 2e 57 20 24 41 39 | .|DC.W $A9|
|00005d30| 45 35 7c 00 00 00 09 bd | 00 12 00 1f c8 4d 41 43 |E5|.....|.....MAC|
|00005d40| 52 4f 20 5f 46 6c 75 73 | 68 fc 00 15 73 20 3d 8a |RO _Flus|h...s =.|
|00005d50| 44 43 2e 57 20 24 41 30 | 33 32 7c 00 00 00 09 c8 |DC.W $A0|32|.....|
|00005d60| 00 12 00 20 c8 4d 41 43 | 52 4f 20 5f 49 6e 69 74 |... .MAC|RO _Init|
|00005d70| 43 75 72 73 6f 72 20 3d | 90 44 43 2e 57 20 24 41 |Cursor =|.DC.W $A|
|00005d80| 38 35 30 7c 00 00 09 d3 | 00 12 00 1f c8 4d 41 43 |850|....|.....MAC|
|00005d90| 52 4f 20 5f 47 65 74 4e | 65 78 74 fb 00 15 3d 92 |RO _GetN|ext...=.|
|00005da0| 44 43 2e 57 20 24 41 39 | 37 30 7c 00 00 00 09 de |DC.W $A9|70|.....|
|00005db0| 00 12 00 20 c8 4d 41 43 | 52 4f 20 5f 46 72 61 6d |... .MAC|RO _Fram|
|00005dc0| 65 52 65 63 74 20 3d 20 | 90 44 43 2e 57 20 24 41 |eRect = |.DC.W $A|
|00005dd0| 38 41 31 7c 00 00 09 f4 | 00 12 00 1f c8 3b 20 20 |8A1|....|.....; |
|00005de0| 20 20 20 20 44 45 43 4c | 41 52 45 20 4c 41 42 45 | DECL|ARE LABE|
|00005df0| 4c 53 20 45 58 54 45 52 | 4e 41 4c 00 00 00 0a 0a |LS EXTER|NAL.....|
|00005e00| 00 12 00 2d c8 58 44 45 | 46 8c 53 54 41 52 54 20 |...-.XDE|F.START |
|00005e10| 20 20 20 20 20 20 20 20 | 20 20 8c 20 3b 20 72 65 | | . ; re|
|00005e20| 71 75 69 72 65 64 20 66 | 6f 72 20 6c 69 6e 6b 65 |quired f|or linke|
|00005e30| 72 00 00 00 0a 20 00 12 | 00 14 c8 3b 20 20 20 20 |r.... ..|...; |
|00005e40| 20 4c 4f 43 41 4c 20 45 | 51 55 41 54 45 53 00 00 | LOCAL E|QUATES..|
|00005e50| 0a 36 00 12 00 10 c8 4d | 6f 75 73 65 44 6f 77 6e |.6.....M|ouseDown|
|00005e60| 89 65 71 75 89 31 00 00 | 0a 41 00 12 00 16 c8 41 |.equ.1..|.A.....A|
|00005e70| 6c 6c fc 00 15 73 89 65 | 71 75 89 24 30 30 30 30 |ll...s.e|qu.$0000|
|00005e80| 46 46 46 46 00 00 0a 57 | 00 12 00 1b c8 3b 20 20 |FFFF...W|.....; |
|00005e90| 20 20 20 4d 41 49 4e 20 | 50 52 4f 47 52 41 4d 20 | MAIN |PROGRAM |
|00005ea0| 53 45 47 4d 45 4e 54 00 | 00 00 0a 6d 00 1b 00 25 |SEGMENT.|...m...%|
|00005eb0| c8 44 43 2e 42 90 ff d4 | 4d 49 4e 45 ff d5 85 3b |.DC.B...|MINE...;|
|00005ec0| 66 69 6e 64 20 73 74 61 | 72 74 20 6f 66 20 70 72 |find sta|rt of pr|
|00005ed0| 6f 67 72 61 6d 00 00 00 | 0a 83 00 12 00 21 c8 3b |ogram...|.....!.;|
|00005ee0| 20 2d 2d 20 53 41 56 45 | 20 54 48 45 20 57 4f 52 | -- SAVE| THE WOR|
|00005ef0| 4c 44 20 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 00 |LD -----|-------.|
|00005f00| 00 00 0a 99 00 12 00 28 | c8 53 54 41 52 54 3a 8d |.......(|.START:.|
|00005f10| 20 4d 4f 56 45 4d 2e 4c | 20 20 20 20 20 20 44 30 | MOVEM.L| D0|
|00005f20| 2d 44 37 2f 41 30 2d 41 | 36 2c 20 2d 28 53 50 29 |-D7/A0-A|6, -(SP)|
|00005f30| 00 00 0a a4 00 28 00 11 | c8 20 4c 45 41 91 53 41 |.....(..|. LEA.SA|
|00005f40| 56 45 52 45 47 53 2c 41 | 30 00 00 00 0a af 00 28 |VEREGS,A|0......(|
|00005f50| 00 1f c8 20 4d 4f 56 45 | 2e 4c 8c 41 36 2c 28 41 |... MOVE|.L.A6,(A|
|00005f60| 30 29 20 20 20 88 3b 20 | 6c 6f 63 61 6c 20 76 61 |0) .; |local va|
|00005f70| 72 00 00 00 0a ba 00 28 | 00 1e c8 20 4d 4f 56 45 |r......(|... MOVE|
|00005f80| 2e 4c 8c 41 37 2c 34 28 | 41 30 29 20 8e 3b 20 73 |.L.A7,4(|A0) .; s|
|00005f90| 74 61 63 6b 20 70 74 72 | 00 00 0a d2 00 24 00 51 |tack ptr|.....$.Q|
|00005fa0| c3 53 69 6e 63 65 20 61 | 20 fd 00 33 69 73 20 61 |.Since a| ..3is a|
|00005fb0| 20 67 72 61 66 70 6f 72 | 74 2c 20 6f 75 72 20 66 | grafpor|t, our f|
|00005fc0| 69 72 73 74 20 74 61 73 | 6b 20 69 73 20 74 6f 20 |irst tas|k is to |
|00005fd0| 69 6e 69 74 69 61 6c 69 | 7a 65 20 71 75 69 63 6b |initiali|ze quick|
|00005fe0| 64 72 61 77 2e 20 54 6f | 20 64 6f 20 74 68 69 73 |draw. To| do this|
|00005ff0| 2c 00 00 00 0a de 00 09 | 00 54 c3 77 65 20 6d 75 |,.......|.T.we mu|
|00006000| 73 74 20 73 75 70 70 6c | 79 20 61 20 6d 65 6d 6f |st suppl|y a memo|
|00006010| 72 79 20 6c 6f 63 61 74 | 69 6f 6e 20 77 68 65 72 |ry locat|ion wher|
|00006020| 65 20 74 68 65 20 71 75 | 69 63 6b 64 72 61 77 20 |e the qu|ickdraw |
|00006030| 67 6c 6f 62 61 6c 73 20 | 63 61 6e 20 62 65 20 73 |globals |can be s|
|00006040| 74 6f 72 65 64 2e 20 49 | 6e 20 46 69 67 2e 00 00 |tored. I|n Fig...|
|00006050| 0a ea 00 09 00 4e c3 33 | 20 77 65 20 73 65 65 20 |.....N.3| we see |
|00006060| 68 6f 77 20 74 68 65 20 | 71 75 69 63 6b 64 72 61 |how the |quickdra|
|00006070| 77 20 67 6c 6f 62 61 6c | 73 20 61 72 65 20 73 74 |w global|s are st|
|00006080| 6f 72 65 64 20 72 65 6c | 61 74 69 76 65 20 74 6f |ored rel|ative to|
|00006090| 20 41 35 2c 20 62 65 74 | 77 65 65 6e 20 74 68 65 | A5, bet|ween the|
|000060a0| 20 fe 00 02 00 00 0a f6 | 00 09 00 21 c3 70 61 72 | .......|...!.par|
|000060b0| 61 6d 65 74 65 72 73 2c | 20 61 6e 64 20 20 74 68 |ameters,| and th|
|000060c0| 65 20 fd 00 02 67 6c 6f | 62 61 6c 73 2e 00 00 00 |e ...glo|bals....|
|000060d0| 0b 0d 00 12 00 24 c8 3b | 20 2d 2d 49 4e 49 54 49 |.....$.;| --INITI|
|000060e0| 41 4c 49 5a 45 20 41 4c | 4c 20 4d 41 4e 41 47 45 |ALIZE AL|L MANAGE|
|000060f0| 52 53 2d 2d 2d 2d 2d 2d | 2d 2d 00 00 0b 23 00 12 |RS------|--...#..|
|00006100| 00 1b c8 3b 20 53 45 54 | 20 55 50 20 51 55 49 43 |...; SET| UP QUIC|
|00006110| 4b 44 52 41 57 20 47 4c | 4f 42 41 4c 53 00 00 00 |KDRAW GL|OBALS...|
|00006120| 0b 39 00 12 00 1f c8 50 | 45 41 20 2d 34 28 41 35 |.9.....P|EA -4(A5|
|00006130| 29 90 3b 70 75 73 68 20 | 71 64 20 67 6c 6f 62 61 |).;push |qd globa|
|00006140| 6c 20 70 74 72 00 00 00 | 0b 44 00 12 00 21 c8 5f |l ptr...|.D...!._|
|00006150| 49 6e 69 74 47 72 61 66 | 89 3b 69 6e 69 74 20 71 |InitGraf|.;init q|
|00006160| 75 69 63 6b 64 72 61 77 | 20 67 6c 6f 62 61 6c 00 |uickdraw| global.|
|00006170| 00 00 0c 0e 00 5d 00 06 | c3 f0 00 88 00 f9 00 00 |.....]..|........|
|00006180| 0c 24 00 24 00 48 c3 54 | 68 65 20 71 75 69 63 6b |.$.$.H.T|he quick|
|00006190| 64 72 61 77 20 67 6c 6f | 62 61 6c 73 20 70 6f 69 |draw glo|bals poi|
|000061a0| 6e 74 20 74 6f 20 74 68 | 65 20 fd 00 0a 64 72 61 |nt to th|e ...dra|
|000061b0| 77 69 6e 67 20 70 6f 72 | 74 2c 20 61 73 20 73 68 |wing por|t, as sh|
|000061c0| 6f 77 6e 20 69 6e 20 46 | 69 67 2e 20 34 2e 00 00 |own in F|ig. 4...|
|000061d0| 0c 30 00 09 00 49 c3 46 | 72 6f 6d 20 41 35 2c 20 |.0...I.F|rom A5, |
|000061e0| 74 68 65 20 fd 00 02 67 | 6c 6f 62 61 6c 73 20 61 |the ...g|lobals a|
|000061f0| 72 65 61 20 69 73 20 66 | 6f 75 6e 64 2e 20 54 68 |rea is f|ound. Th|
|00006200| 65 6e 20 74 68 65 20 70 | 6f 69 6e 74 65 72 20 74 |en the p|ointer t|
|00006210| 6f 20 74 68 65 20 71 75 | 69 63 6b 64 72 61 77 00 |o the qu|ickdraw.|
|00006220| 00 00 0c 3c 00 09 00 57 | c3 67 6c 6f 62 61 6c 73 |...<...W|.globals|
|00006230| 2c 20 66 6f 6c 6c 6f 77 | 65 64 20 62 79 20 74 68 |, follow|ed by th|
|00006240| 65 20 71 75 69 63 6b 64 | 72 61 77 20 67 6c 6f 62 |e quickd|raw glob|
|00006250| 61 6c 73 20 74 68 65 6d | 73 65 6c 76 65 73 2e 20 |als them|selves. |
|00006260| 46 69 6e 61 6c 6c 79 2c | 20 74 68 65 20 66 69 72 |Finally,| the fir|
|00006270| 73 74 20 65 6e 74 72 79 | 20 69 6e 20 74 68 65 00 |st entry| in the.|
|00006280| 00 00 0c 48 00 09 00 4e | c3 71 75 69 63 6b 64 72 |...H...N|.quickdr|
|00006290| 61 77 20 67 6c 6f 62 61 | 6c 73 20 69 73 20 61 20 |aw globa|ls is a |
|000062a0| 70 6f 69 6e 74 65 72 20 | 74 6f 20 74 68 65 20 fd |pointer |to the .|
|000062b0| 00 0a 70 6f 72 74 20 64 | 65 66 69 6e 65 64 20 62 |..port d|efined b|
|000062c0| 79 20 74 68 65 20 fd 00 | 0a 67 72 61 66 70 6f 72 |y the ..|.grafpor|
|000062d0| 74 20 64 61 74 61 00 00 | 0c 54 00 09 00 55 c3 73 |t data..|.T...U.s|
|000062e0| 74 72 75 63 74 75 72 65 | 2e 20 54 68 65 20 71 75 |tructure|. The qu|
|000062f0| 69 63 6b 64 72 61 77 20 | 67 6c 6f 62 61 6c 73 20 |ickdraw |globals |
|00006300| 61 72 65 20 64 65 66 69 | 6e 65 64 20 69 6e 20 46 |are defi|ned in F|
|00006310| 69 67 2e 20 35 2e 20 54 | 68 65 20 67 72 61 66 70 |ig. 5. T|he grafp|
|00006320| 6f 72 74 20 69 73 20 64 | 65 73 63 72 69 62 65 64 |ort is d|escribed|
|00006330| 20 69 6e 00 00 00 0c 60 | 00 09 00 36 c3 ff d2 fb | in....`|...6....|
|00006340| 00 1e 4d 61 63 69 6e 74 | 6f 73 68 ff d3 20 61 6e |..Macint|osh.. an|
|00006350| 64 20 69 73 20 74 6f 6f | 20 6c 6f 6e 67 20 74 6f |d is too| long to|
|00006360| 20 62 65 20 69 6e 63 6c | 75 64 65 64 20 68 65 72 | be incl|uded her|
|00006370| 65 2e 00 00 0d 62 00 54 | 00 06 c3 f0 00 89 01 0b |e....b.T|........|
|00006380| 00 00 0d 78 00 24 00 37 | c3 4f 75 72 20 6e 65 78 |...x.$.7|.Our nex|
|00006390| 74 20 74 61 73 6b 20 69 | 73 20 74 6f 20 64 65 66 |t task i|s to def|
|000063a0| 69 6e 65 20 74 68 65 20 | 72 65 6d 61 69 6e 69 6e |ine the |remainin|
|000063b0| 67 20 74 6f 6f 6c 62 6f | 78 20 fe 00 24 73 3a 00 |g toolbo|x ..$s:.|
|000063c0| 00 00 0d 83 00 12 00 03 | c8 20 20 00 00 00 0d 8e |........|. .....|
|000063d0| 00 12 00 24 c8 3b 2d 2d | 2d 2d 20 53 45 54 20 55 |...$.;--|-- SET U|
|000063e0| 50 20 52 45 4d 41 49 4e | 49 4e 47 20 4d 41 4e 41 |P REMAIN|ING MANA|
|000063f0| 47 45 52 53 20 20 2d 2d | 00 00 0d a4 00 12 00 20 |GERS --|....... |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.